Click or drag to resize

RoutingStrategyFastest Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A RoutingStrategy which calculates the fastest route between RouteStops.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.RoutingRoutingStrategy
    Telogis.GeoBase.RoutingRoutingStrategyFastest

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.84.0.0
Syntax
public class RoutingStrategyFastest : RoutingStrategy, 
	IDisposable

The RoutingStrategyFastest type exposes the following members.

Constructors
  NameDescription
Public methodRoutingStrategyFastest
Initializes a new instance of the RoutingStrategyFastest class
Top
Properties
  NameDescription
Public propertyAllowUTurns
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.)
Public propertyCostUnits
Returns the units that the costs are calculated in.
(Inherited from RoutingStrategy.)
Public propertyCrossAtTrafficSignalsUnpenalized
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.
Public propertyCrossingTurnPenalty
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.
Public propertyCustomCostFunction
Gets or sets a custom function used to adjust the cost associated with a particular link.
(Inherited from RoutingStrategy.)
Public propertyCustomRoutingAccessKeys
Gets or sets the custom routing access keys for this route.
(Inherited from RoutingStrategy.)
Public propertyDefaultProfile Obsolete.
The default RoutingProfile for all countries. This profile will be overridden if a profile has been set for another country.
(Inherited from RoutingStrategy.)
Public propertyExtraProcessingRatio
Used to increase the area of the bounding boxes for querying the network.
(Inherited from RoutingStrategy.)
Public propertyIgnoreConstraints
When true, tells the routing engine to ignore all constraints. When false (default), constraints are obeyed.
(Inherited from RoutingStrategy.)
Public propertyIgnoreDrivingDirection
When true, tells the routing engine to ignore the direction of one way roads. Default is false.
(Inherited from RoutingStrategy.)
Public propertyKeepOut
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.)
Public propertyKeyAccessPredicate
Gets or sets a custom predicate used to instruct the routing engine whether an access constraint may be ignored.
(Inherited from RoutingStrategy.)
Public propertyCode exampleLinkEdits
A set of link edits that, for selected links, will override the default speed that is used when calculating a route.
(Inherited from RoutingStrategy.)
Public propertyObeyPreferredConstraints
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.)
Public propertyRoadCrossingBehavior
Sets the permitted type of road crossing behavior (Allowed, Discouraged, Forbidden).
(Inherited from RoutingStrategy.)
Public propertyUseFerries
Sets whether ferry crossings are allowed (true) or should be avoided as much as possible (false). Default is true.
(Inherited from RoutingStrategy.)
Public propertyUseTollRoads
Gets or sets whether this route is allowed to use toll roads. Default is true.
(Inherited from RoutingStrategy.)
Public propertyUTurnPenalty
The penalty applied during routing for performing a u-turn. The default cost is 80 seconds.
Top
Methods
  NameDescription
Public methodCalculateTimeAfter
Calculates the time after passing through the link.
(Inherited from RoutingStrategy.)
Public methodDispose
Frees all (managed & unmanaged) resources associated with this RoutingStrategy.
(Overrides RoutingStrategyDispose.)
Public methodEquals (Inherited from Object.)
Public methodGetAllowedVehicleTypes
Returns the types of vehicles that are allowed on a particular functional class road on this strategy.
(Inherited from RoutingStrategy.)
Public methodGetHashCode
Returns a unique integer for this object.
(Overrides RoutingStrategyGetHashCode.)
Public methodGetProfile
Gets the RoutingProfile for a certain country for this RoutingStrategy.
(Inherited from RoutingStrategy.)
Public methodGetType (Inherited from Object.)
Public methodRegisterProfile
Registers the RoutingProfile for a given country and type of vehicle.
(Inherited from RoutingStrategy.)
Public methodSetAllowedVehicleTypes
Sets the types of vehicles that are allowed on a particular functional class road on this strategy.
(Inherited from RoutingStrategy.)
Public methodSetProfile(RoutingProfile) Obsolete. (Inherited from RoutingStrategy.)
Public methodSetProfile(Country, RoutingProfile)
Sets the RoutingProfile for a certain country.
(Inherited from RoutingStrategy.)
Public methodSetProfile(Country, RoutingProfile)
Sets the RoutingProfile for all the countries in an array.
(Inherited from RoutingStrategy.)
Public methodToString (Inherited from Object.)
Public methodToXml
Used to serialize a RoutingStrategy object to XML.
(Inherited from RoutingStrategy.)
Top
Remarks
Examples
C#
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();
See Also