Package com.cercalia.sdk.model.routing
Class RoutingOptions
java.lang.Object
com.cercalia.sdk.model.routing.RoutingOptions
Options for route calculation.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RoutingOptions.Builderbuilder()@Nullable Integer@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable String@Nullable String@Nullable String@Nullable RouteNetworkgetNet()@Nullable Boolean@Nullable Boolean@Nullable String@Nullable Integer@Nullable Integer@Nullable Integer@Nullable Integer@Nullable Integer@Nullable Integer@Nullable VehicleType@Nullable List<Coordinate>@Nullable RouteWeight
-
Method Details
-
builder
- Returns:
- A new builder instance.
-
getVehicleType
- Returns:
- The vehicle type for routing.
-
getWeight
- Returns:
- The optimization weight criteria.
-
getAvoidTolls
- Returns:
- Whether to avoid toll roads.
-
getReport
- Returns:
- Whether to return a detailed report.
-
getNet
- Returns:
- The road network to use.
-
getDepartureTime
- Returns:
- The departure time in
YYYYMMDDHHmmformat.
-
getAlternatives
- Returns:
- Number of alternative routes requested.
-
getDirection
- Returns:
- The direction of the route (
forwardorbackward).
-
getReorder
- Returns:
- Whether to reorder intermediate waypoints for optimization.
-
getStartWindow
- Returns:
- The start of the time window for arrival/departure.
-
getEndWindow
- Returns:
- The end of the time window for arrival/departure.
-
getBlockRealtime
- Returns:
- Whether to block routes with real-time traffic incidents.
-
getAvoidRealtime
- Returns:
- Whether to avoid routes with real-time traffic incidents.
-
getBlockFerries
- Returns:
- Whether to block routes that include ferries.
-
getAvoidFerries
- Returns:
- Whether to avoid routes that include ferries.
-
getWaypoints
- Returns:
- The list of intermediate waypoints.
-
getTruckWeight
- Returns:
- The truck weight in kilograms.
-
getTruckAxleWeight
- Returns:
- The truck axle weight in kilograms.
-
getTruckHeight
- Returns:
- The truck height in centimeters.
-
getTruckWidth
- Returns:
- The truck width in centimeters.
-
getTruckLength
- Returns:
- The truck length in centimeters.
-
getTruckMaxVelocity
- Returns:
- The maximum velocity for the truck in km/h.
-
getBlockTruckWeight
- Returns:
- Whether to block roads exceeding truck weight.
-
getAvoidTruckWeight
- Returns:
- Whether to avoid roads exceeding truck weight.
-
getBlockTruckAxleWeight
- Returns:
- Whether to block roads exceeding truck axle weight.
-
getAvoidTruckAxleWeight
- Returns:
- Whether to avoid roads exceeding truck axle weight.
-
getBlockTruckHeight
- Returns:
- Whether to block roads exceeding truck height.
-
getAvoidTruckHeight
- Returns:
- Whether to avoid roads exceeding truck height.
-
getBlockTruckLength
- Returns:
- Whether to block roads exceeding truck length.
-
getAvoidTruckLength
- Returns:
- Whether to avoid roads exceeding truck length.
-
getBlockTruckWidth
- Returns:
- Whether to block roads exceeding truck width.
-
getAvoidTruckWidth
- Returns:
- Whether to avoid roads exceeding truck width.
-