| Package | Description |
|---|---|
| com.pb.routing.gra.matrix |
Classes used for dealing with Get Route Cost Matrix Operation.
|
| Modifier and Type | Method and Description |
|---|---|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.avoidTollRoad(boolean avoidTollRoad)
Sets whether to calculate the route using only toll roads.
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.DBResource(String dbResource)
Sets the Database resource to be used for this request.
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.destinationSrs(CoordSys destinationSrs)
Sets the Destination Coordinate System for points in response.
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.distanceUnit(LinearUnit distanceUnit)
Sets the Distance Unit in which the route distance is to be returned.
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.historicSpeedBucket(HistoricSpeedBucket historicSpeedBucket)
Sets the Historic Speed bucket to be used while processing this
request.
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.localRoadsLoadFactor(int localRoadsLoadFactor)
Sets the localRoadsLoadFactor for this request.
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.majorRoads(boolean majorRoads)
Sets whether to calculate the route using only major roads.
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.optimizeBy(OptimizeBy optimizeBy)
Sets whether the fastest or shortest route is to be calculated.
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.returnOptimalRoutesOnly(boolean returnOptimalRoutesOnly)
Sets whether to return only optimal route costs or complete route
cost matrix.
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.roadTypePreferences(Map<RoadType,RoadTypePriority> roadTypePreferences)
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.timeUnit(TimeUnit timeUnit)
Sets the Time Unit in which the route time is to be returned.
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.updates(List<Update> updates)
|
GetRouteCostMatrixRequest.Builder |
GetRouteCostMatrixRequest.Builder.vehicleAttr(VehicleAttributes vehicleAttr)
Sets the Commercial Vehicle Restrictions value to be used while
processing this request.
|