This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
thinkgeo.mapsuite.routing.astarroutingalgorithm [2015/09/11 03:15] admin [GeographyUnit] |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ThinkGeo.MapSuite.Routing.AStarRoutingAlgorithm ====== | ||
| - | |||
| - | |||
| - | This class represents a routing algorithm that is based on the A* algorithm. | ||
| - | === Remarks === | ||
| - | The A* algorithm is one of the best graph search algorithms that finds the least-cost path from a given start point to a given end point. It uses a distance-plus-cost heuristic function to determine the order in which the search visits routeSegments in the data. | ||
| - | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | ||
| - | * [[ThinkGeo.MapSuite.Routing.RoutingAlgorithm]] | ||
| - | * [[ThinkGeo.MapSuite.Routing.AStarRoutingAlgorithm]] | ||
| - | ===== Members Summary ===== | ||
| - | ==== Public Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#AStarRoutingAlgorithm()|AStarRoutingAlgorithm]] | | | This is a constructor for this class. | | ||
| - | |||
| - | ==== Protected Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Public Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetRoute(RoutingSource, String, String)|GetRoute]] | [[ThinkGeo.MapSuite.Routing.RoutingSource|RoutingSource]], String, String | [[ThinkGeo.MapSuite.Routing.RoutingAlgorithm|RoutingAlgorithm]] | This method returns a RoutingResult based on the extent you provided. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | ||
| - | |||
| - | ==== Protected Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetRouteCore(RoutingSource, String, String)|GetRouteCore]] | [[ThinkGeo.MapSuite.Routing.RoutingSource|RoutingSource]], String, String | [[ThinkGeo.MapSuite.Routing.RoutingAlgorithm|RoutingAlgorithm]](overriden) | This method returns a RoutingResult based on the extent you provided. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnFindingRoute(FindingRouteRoutingAlgorithmEventArgs)|OnFindingRoute]] | [[ThinkGeo.MapSuite.Routing.FindingRouteRoutingAlgorithmEventArgs|FindingRouteRoutingAlgorithmEventArgs]] | [[ThinkGeo.MapSuite.Routing.RoutingAlgorithm|RoutingAlgorithm]] | This method allows you to raise the FindingRoute event from a derived class. | | ||
| - | |||
| - | ==== Public Properties ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#AStartRouteModifier|AStartRouteModifier]] | Single | | | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#DistanceUnit|DistanceUnit]] | [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | [[ThinkGeo.MapSuite.Routing.RoutingAlgorithm|RoutingAlgorithm]] | | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#GeographyUnit|GeographyUnit]] | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | [[ThinkGeo.MapSuite.Routing.RoutingAlgorithm|RoutingAlgorithm]] | | | ||
| - | |||
| - | ==== Protected Properties ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Public Events ==== | ||
| - | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicEvent.gif|Public Event}}[[#FindingRoute|FindingRoute]] | [[ThinkGeo.MapSuite.Routing.FindingRouteRoutingAlgorithmEventArgs|FindingRouteRoutingAlgorithmEventArgs]] | [[ThinkGeo.MapSuite.Routing.RoutingAlgorithm|RoutingAlgorithm]] | This event is called after finding the adjacent routeSegments. | | ||
| - | |||
| - | ===== Public Constructors ===== | ||
| - | ==== AStarRoutingAlgorithm() ==== | ||
| - | 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.AStarRoutingAlgorithm#AStarRoutingAlgorithm.28.29"// | ||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | [[#Public Constructors|Go Back]] | ||
| - | ===== Protected Constructors ===== | ||
| - | ===== Public Methods ===== | ||
| - | ==== Equals(Object) ==== | ||
| - | === Remarks === | ||
| - | For the most updated Info for this topic, please check it here:// http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.AStarRoutingAlgorithm#Equals.28Object.29 // | ||
| - | |||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Boolean | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | obj | Object | | | ||
| - | |||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetHashCode() ==== | ||
| - | === Remarks === | ||
| - | For the most updated Info for this topic, please check it here:// http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.AStarRoutingAlgorithm#GetHashCode.28.29 // | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Int32 | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== 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 === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Collection<[[ThinkGeo.MapSuite.Routing.RouteSegment|RouteSegment]]> | Routing result that contains path information. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | routingSource | [[ThinkGeo.MapSuite.Routing.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. | | ||
| - | |||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetType() ==== | ||
| - | === Remarks === | ||
| - | For the most updated Info for this topic, please check it here:// http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.AStarRoutingAlgorithm#GetType.28.29 // | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Type | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== ToString() ==== | ||
| - | === Remarks === | ||
| - | For the most updated Info for this topic, please check it here:// http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.AStarRoutingAlgorithm#ToString.28.29 // | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | String | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | ===== Protected Methods ===== | ||
| - | ==== Finalize() ==== | ||
| - | === Remarks === | ||
| - | For the most updated Info for this topic, please check it here:// http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.AStarRoutingAlgorithm#Finalize.28.29 // | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | |||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== 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 === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Collection<[[ThinkGeo.MapSuite.Routing.RouteSegment|RouteSegment]]> | Routing result that contains path information. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | routingSource | [[ThinkGeo.MapSuite.Routing.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. | | ||
| - | |||
| - | |||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== MemberwiseClone() ==== | ||
| - | === Remarks === | ||
| - | For the most updated Info for this topic, please check it here:// http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.AStarRoutingAlgorithm#MemberwiseClone.28.29 // | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Object | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== 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.AStarRoutingAlgorithm#OnFindingRoute.28FindingRouteRoutingAlgorithmEventArgs.29 // | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | e | [[ThinkGeo.MapSuite.Routing.FindingRouteRoutingAlgorithmEventArgs|FindingRouteRoutingAlgorithmEventArgs]]| | | ||
| - | |||
| - | |||
| - | [[#Protected Methods|Go Back]] | ||
| - | ===== Public Properties ===== | ||
| - | ==== AStartRouteModifier ==== | ||
| - | === Remarks === | ||
| - | For the most updated Info for this topic, please check it here:// http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.AStarRoutingAlgorithm#AStartRouteModifier // | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Single | | ||
| - | |||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== DistanceUnit ==== | ||
| - | === Remarks === | ||
| - | For the most updated Info for this topic, please check it here:// http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.AStarRoutingAlgorithm#DistanceUnit // | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | | ||
| - | |||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== GeographyUnit ==== | ||
| - | === Remarks === | ||
| - | For the most updated Info for this topic, please check it here:// http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.AStarRoutingAlgorithm#GeographyUnit // | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | | ||
| - | |||
| - | |||
| - | [[#Public Properties|Go Back]] | ||
| - | ===== Protected Properties ===== | ||
| - | ===== Public Events ===== | ||
| - | ==== 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 === | ||
| - | ^ Event Arguments ^ | ||
| - | | [[ThinkGeo.MapSuite.Routing.FindingRouteRoutingAlgorithmEventArgs|FindingRouteRoutingAlgorithmEventArgs]]<!-- ThinkGeo.MapSuite.Routing.FindingRouteRoutingAlgorithmEventArgs --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Routing.RoutingAlgorithm --> | ||
| - | [[#Public Events|Go Back]] | ||
| - | |||
| - | __NOTOC__ | ||
| - | [[Category:MapSuiteRouting]] | ||
| - | [[Category:ThinkGeo.MapSuite.Routing]] | ||
| - | [[Category: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.