Click or drag to resize

MultiThreadMatrix Constructor (RouteStop, RoutingStrategy, Int32, Boolean, LinkCost)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Create a MultiThreadMatrix using an array of RouteStops, and a RoutingStrategy. Define the number of threads to use (NumThreads), and specify if the calculated data should be saved to disk (persist = true) for quicker, subsequent data reading.

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public MultiThreadMatrix(
	RouteStop[] InitialStops,
	RoutingStrategy Strategy,
	int NumThreads,
	bool persist,
	LinkCost MaxCost
)

Parameters

InitialStops
Type: Telogis.GeoBaseRouteStop
The array of RouteStops to use for this calculation.
Strategy
Type: Telogis.GeoBase.RoutingRoutingStrategy
The RoutingStrategy to use for this calculation.
NumThreads
Type: SystemInt32
The number of threads to use for this calculation.
persist
Type: SystemBoolean
When true, the calculation results are automatically saved and loaded from disk, as and when required, allowing for faster, subsequent, data retrieval.
MaxCost
Type: Telogis.GeoBase.RoutingLinkCost
The maximum allowable cost of any route - if this cost is exceeded, then a value of 'Infinity' (Double.PositiveInfinity) is returned.
Examples
See MultiThreadMatrix for code example.
See Also