====== ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm ====== {{section>upgrade_map_suite_to_10.0}} This class represents a routing algorithm that is based on the Dijkstra algorithm. ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.Routing.RoutingAlgorithm ***ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} DijkstraRoutingAlgorithm() ** * //This is a constructor for this class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm#DijkstraRoutingAlgorithm.28.29// == Parameters ==
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} GetRoute(RoutingSource,String,String) ** * //This method returns a RoutingResult based on the extent you provided.// == Remarks == * //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 Value == * Type:Collection<[[ThinkGeo.MapSuite.Routing.RouteSegment|RouteSegment]]> * Description:Routing result that contains path information. == Parameters == * //routingSource// * Type:[[ThinkGeo.MapSuite.Routing.RoutingSource|RoutingSource]] * Description:The routing source that contains the routeSegments to route on. * //startFeatureId// * Type:String * Description:The feature ID which represents the starting routeSegment. * //endFeatureId// * Type:String * Description:The feature ID which represents the ending routeSegment.
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm#ToString.28.29// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm#Equals.28Object.29// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm#GetHashCode.28.29// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm#GetType.28.29// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} GetRouteCore(RoutingSource,String,String) ** * //This method returns a RoutingResult based on the extent you provided.// == Remarks == * //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 Value == * Type:Collection<[[ThinkGeo.MapSuite.Routing.RouteSegment|RouteSegment]]> * Description:Routing result that contains path information. == Parameters == * //routingSource// * Type:[[ThinkGeo.MapSuite.Routing.RoutingSource|RoutingSource]] * Description:The routing source that contains the routeSegments to route on. * //startFeatureId// * Type:String * Description:The feature ID which represents the starting routeSegment. * //endFeatureId// * Type:String * Description:The feature ID which represents the ending routeSegment.
** {{wiki:ProtectedMethod.gif|}} OnFindingRoute(FindingRouteRoutingAlgorithmEventArgs) ** * //This method allows you to raise the FindingRoute event from a derived class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm#OnFindingRoute.28FindingRouteRoutingAlgorithmEventArgs.29// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.Routing.FindingRouteRoutingAlgorithmEventArgs|FindingRouteRoutingAlgorithmEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm#Finalize.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm#MemberwiseClone.28.29// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} GeographyUnit ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm#GeographyUnit == Return Value == * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] ** {{wiki:PublicProperty.gif|}} DistanceUnit ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.DijkstraRoutingAlgorithm#DistanceUnit == Return Value == * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] ==== Protected Properties ==== ==== Public Events ==== ** {{wiki:PublicEvent.gif|}} FindingRoute ** This event is called after finding the adjacent routeSegments. == Remarks == This event is called after finding the adjacent routeSegments. It wil be called many times during the route. Event Arguments:[[ThinkGeo.MapSuite.Routing.FindingRouteRoutingAlgorithmEventArgs|FindingRouteRoutingAlgorithmEventArgs]]