RoutingStrategyFastest Class |
Namespace: Telogis.GeoBase.Routing
The RoutingStrategyFastest type exposes the following members.
Name | Description | |
---|---|---|
RoutingStrategyFastest | Initializes a new instance of the RoutingStrategyFastest class |
Name | Description | |
---|---|---|
AllowUTurns |
When true, allows the routing engine to instruct a u-turn. When false, generated
routes will not contain u-turns if possible. Default is true.
(Inherited from RoutingStrategy.) | |
CostUnits |
Returns the units that the costs are calculated in.
(Inherited from RoutingStrategy.) | |
CrossAtTrafficSignalsUnpenalized |
If traffic signal data is available and a crossing turn is being performed at an intersection
controlled by traffic lights, allow a crossing turn to be performed with no penalty.
| |
CrossingTurnPenalty |
The penalty applied during routing for making a turn that crosses traffic. So in a country
that drives on the right side of the road, left turns will be penalized if they cross
a lane of traffic. Default is no penalty.
| |
CustomCostFunction |
Gets or sets a custom function used to adjust the cost associated with a particular link.
(Inherited from RoutingStrategy.) | |
CustomRoutingAccessKeys |
Gets or sets the custom routing access keys for this route.
(Inherited from RoutingStrategy.) | |
DefaultProfile | Obsolete.
The default RoutingProfile for
all countries. This profile will be overridden if a profile has been set for another country.
(Inherited from RoutingStrategy.) | |
ExtraProcessingRatio |
Used to increase the area of the bounding boxes for querying the network.
(Inherited from RoutingStrategy.) | |
IgnoreConstraints |
When true, tells the routing engine to ignore all constraints. When false (default), constraints are obeyed.
(Inherited from RoutingStrategy.) | |
IgnoreDrivingDirection |
When true, tells the routing engine to ignore the direction of one way roads.
Default is false.
(Inherited from RoutingStrategy.) | |
KeepOut |
Sets a GeoFence area where the router will
not send vehicles. You can use this to keep the route from going through a specific
area.
(Inherited from RoutingStrategy.) | |
KeyAccessPredicate |
Gets or sets a custom predicate used to instruct the routing engine whether an access constraint may be ignored.
(Inherited from RoutingStrategy.) | |
LinkEdits |
A set of link edits that, for selected links, will override the default speed that is
used when calculating a route.
(Inherited from RoutingStrategy.) | |
ObeyPreferredConstraints |
When true, tells the routing engine to use preferred constraints. May introduce a performance penalty.
When false (default), preferred constraints are not obeyed.
(Inherited from RoutingStrategy.) | |
RoadCrossingBehavior |
Sets the permitted type of road crossing behavior (Allowed, Discouraged, Forbidden).
(Inherited from RoutingStrategy.) | |
UseFerries |
Sets whether ferry crossings are allowed (true) or should be avoided as much as possible (false).
Default is true.
(Inherited from RoutingStrategy.) | |
UseTollRoads |
Gets or sets whether this route is allowed to use toll roads. Default is true.
(Inherited from RoutingStrategy.) | |
UTurnPenalty |
The penalty applied during routing for performing a u-turn. The default cost is 80 seconds.
|
Name | Description | |
---|---|---|
CalculateTimeAfter |
Calculates the time after passing through the link.
(Inherited from RoutingStrategy.) | |
Dispose |
Frees all (managed & unmanaged) resources associated with this RoutingStrategy.
(Overrides RoutingStrategyDispose.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetAllowedVehicleTypes |
Returns the types of vehicles that are allowed on a particular functional class road on this strategy.
(Inherited from RoutingStrategy.) | |
GetHashCode |
Returns a unique integer for this object.
(Overrides RoutingStrategyGetHashCode.) | |
GetProfile |
Gets the RoutingProfile
for a certain country for this RoutingStrategy.
(Inherited from RoutingStrategy.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
RegisterProfile |
Registers the RoutingProfile for
a given country and type of vehicle.
(Inherited from RoutingStrategy.) | |
SetAllowedVehicleTypes |
Sets the types of vehicles that are allowed on a particular functional class road on this strategy.
(Inherited from RoutingStrategy.) | |
SetProfile(RoutingProfile) | Obsolete. (Inherited from RoutingStrategy.) | |
SetProfile(Country, RoutingProfile) |
Sets the RoutingProfile
for a certain country.
(Inherited from RoutingStrategy.) | |
SetProfile(Country, RoutingProfile) |
Sets the RoutingProfile for all the countries
in an array.
(Inherited from RoutingStrategy.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToXml |
Used to serialize a RoutingStrategy
object to XML.
(Inherited from RoutingStrategy.) |
Related articles: Routing Concept, Using a RouteMatrix.
This strategy will attempt to complete the route in the shortest possible time, even if this means increasing the driving distance (by, for example, driving on highways). // Create a Route. Route Route = new Route(); // Change the Route Strategy. Determine the fastest route. RouteStrategy's default. Route.Strategy = new RoutingStrategyFastest();