Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
This class is the base class for all types of RoutingAlgorithm.
The RoutingAlgorithm class is where all other types of RoutingAlgorithm are inherited from. It provides the base set of functionality.As it is abstract, you will need to implement the GetRouteCore method. In this method, you are repsonsible for implementing a routing algorithm to get the path between two routeSegments.There are many graph search algorithms you can use to extend this class. This assembly includes Dijkstra, A* and Bidirectional, but you can also write your own.
| Name | Parameters | DeclaringType | Summary |
|---|
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
RoutingAlgorithm | This is the default constructor for the RoutingAlgorithm and should be called by inherited classes. |
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Equals | Object | Object | |
GetHashCode | Object | ||
GetRoute | RoutingSource, String, String | This method returns a RoutingResult based on the extent you provided. | |
GetType | Object | ||
ToString | Object |
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Finalize | Object | ||
GetRouteCore | RoutingSource, String, String | This method returns a RoutingResult based on the extent you provided. | |
MemberwiseClone | Object | ||
OnFindingRoute | FindingRouteRoutingAlgorithmEventArgs | This method allows you to raise the FindingRoute event from a derived class. |
| Name | Return | DeclaringType | Summary |
|---|---|---|---|
DistanceUnit | DistanceUnit | ||
GeographyUnit | GeographyUnit |
| Name | Return | DeclaringType | Summary |
|---|
| Name | Event Arguments | DeclaringType | Summary |
|---|---|---|---|
FindingRoute | FindingRouteRoutingAlgorithmEventArgs | This event is called after finding the adjacent routeSegments. |
This is the default constructor for the RoutingAlgorithm and should be called by inherited classes.
This is the default constructor for the RoutingAlgorithm and should be called by inherited classes.
| Name | Type | Description |
|---|
For the most updated Info for this topic, please check it here: http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#Equals.28Object.29
| Return Type | Description |
|---|---|
| Boolean |
| Name | Type | Description |
|---|---|---|
| obj | Object |
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#GetHashCode.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#GetHashCode.28.29</a>
| Return Type | Description |
|---|---|
| Int32<!– System.Int32 –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
This method returns a RoutingResult based on the extent you provided.
This method is the concrete wrapper for the abstract method GetRouteCore.This method gets the routing result based on the extent you provided. In this method, you are repsonsible for implementing a routing algorithm to get the path between two routeSegments.
| Return Type | Description |
|---|---|
| Collection<RouteSegment><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Routing.RouteSegment} –> | Routing result that contains path information. |
| Name | Type | Description |
|---|---|---|
| routingSource | RoutingSource<!– ThinkGeo.MapSuite.Routing.RoutingSource –> | The routing source that contains the routeSegments to route on. |
| startFeatureId | String<!– System.String –> | The feature ID which represents the starting routeSegment. |
| endFeatureId | String<!– System.String –> | The feature ID which represents the ending routeSegment. |
<!– ThinkGeo.MapSuite.Routing.RoutingAlgorithm –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#GetType.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#GetType.28.29</a>
| Return Type | Description |
|---|---|
| Type<!– System.Type –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#ToString.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#ToString.28.29</a>
| Return Type | Description |
|---|---|
| String<!– System.String –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#Finalize.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#Finalize.28.29</a>
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
This method returns a RoutingResult based on the extent you provided.
This abstract method is called from the concrete public method GetRoute.This method gets the routing result based on the extent you provided. In this method, you are repsonsible for implementing a routing algorithm to get the path between two routeSegments.
| Return Type | Description |
|---|---|
| Collection<RouteSegment><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Routing.RouteSegment} –> | Routing result that contains path information. |
| Name | Type | Description |
|---|---|---|
| routingSource | RoutingSource<!– ThinkGeo.MapSuite.Routing.RoutingSource –> | The routing source that contains the routeSegments to route on. |
| startFeatureId | String<!– System.String –> | The feature ID which represents the starting routeSegment. |
| endFeatureId | String<!– System.String –> | The feature ID which represents the ending routeSegment. |
<!– ThinkGeo.MapSuite.Routing.RoutingAlgorithm –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#MemberwiseClone.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#MemberwiseClone.28.29</a>
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
This method allows you to raise the FindingRoute event from a derived class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#OnFindingRoute.28FindingRouteRoutingAlgorithmEventArgs.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#OnFindingRoute.28FindingRouteRoutingAlgorithmEventArgs.29</a>
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| e | FindingRouteRoutingAlgorithmEventArgs<!– ThinkGeo.MapSuite.Routing.FindingRouteRoutingAlgorithmEventArgs –> |
<!– ThinkGeo.MapSuite.Routing.RoutingAlgorithm –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#DistanceUnit” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#DistanceUnit</a>
| Return Type |
|---|
| DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> |
<!– ThinkGeo.MapSuite.Routing.RoutingAlgorithm –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#GeographyUnit” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#GeographyUnit</a>
| Return Type |
|---|
| GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> |
<!– ThinkGeo.MapSuite.Routing.RoutingAlgorithm –> Go Back
This event is called after finding the adjacent routeSegments.
This event is called after finding the adjacent routeSegments. It wil be called many times during the route.
| Event Arguments |
|---|
| FindingRouteRoutingAlgorithmEventArgs<!– ThinkGeo.MapSuite.Routing.FindingRouteRoutingAlgorithmEventArgs –> |
<!– ThinkGeo.MapSuite.Routing.RoutingAlgorithm –> Go Back
NOTOC MapSuiteRouting ThinkGeo.MapSuite.Routing UpdateDocumentation
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.