ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
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 |
---|---|---|---|
![]() | This is the default constructor for the RoutingAlgorithm and should be called by inherited classes. |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | Object | |
![]() | Object | ||
![]() | RoutingSource, String, String | This method returns a RoutingResult based on the extent you provided. | |
![]() | Object | ||
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | ||
![]() | RoutingSource, String, String | This method returns a RoutingResult based on the extent you provided. | |
![]() | Object | ||
![]() | FindingRouteRoutingAlgorithmEventArgs | This method allows you to raise the FindingRoute event from a derived class. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | DistanceUnit | ||
![]() | GeographyUnit |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|---|---|---|
![]() | 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: http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#GetHashCode.28.29
Return Type | Description |
---|---|
Int32 |
Name | Type | Description |
---|
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> | Routing result that contains path information. |
Name | Type | Description |
---|---|---|
routingSource | RoutingSource | The routing source that contains the routeSegments to route on. |
startFeatureId | String | The feature ID which represents the starting routeSegment. |
endFeatureId | String | The feature ID which represents the ending routeSegment. |
For the most updated Info for this topic, please check it here: http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#GetType.28.29
Return Type | Description |
---|---|
Type |
Name | Type | Description |
---|
For the most updated Info for this topic, please check it here: http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#ToString.28.29
Return Type | Description |
---|---|
String |
Name | Type | Description |
---|
For the most updated Info for this topic, please check it here: http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#Finalize.28.29
Return Type | Description |
---|---|
Void |
Name | Type | Description |
---|
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> | Routing result that contains path information. |
Name | Type | Description |
---|---|---|
routingSource | RoutingSource | The routing source that contains the routeSegments to route on. |
startFeatureId | String | The feature ID which represents the starting routeSegment. |
endFeatureId | String | The feature ID which represents the ending routeSegment. |
For the most updated Info for this topic, please check it here: http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#MemberwiseClone.28.29
Return Type | Description |
---|---|
Object |
Name | Type | Description |
---|
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: http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#OnFindingRoute.28FindingRouteRoutingAlgorithmEventArgs.29
Return Type | Description |
---|---|
Void |
Name | Type | Description |
---|---|---|
e | FindingRouteRoutingAlgorithmEventArgs |
For the most updated Info for this topic, please check it here: http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingAlgorithm#DistanceUnit
Return Type |
---|
DistanceUnit |
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