-
DistanceLimit.Builder.clear()
Cost per kilometer incurred if distance is above `soft_max_meters` limit.
Cost per kilometer incurred, increasing up to `soft_max_meters`, with
formula:
```
min(distance_meters, soft_max_meters) / 1000.0 *
cost_per_kilometer_below_soft_max.
```
This cost is not supported in `route_distance_limit`.
A hard limit constraining the distance to be at most max_meters.
A soft limit not enforcing a maximum distance limit, but when violated
results in a cost which adds up to other costs defined in the model,
with the same unit.
Specifies a limit on the distance traveled while performing this
transition.
Limit applied to the total distance of the vehicle's route.
DistanceLimit.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DistanceLimit.Builder.mergeFrom(com.google.protobuf.Message other)
DistanceLimit.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
Cost per kilometer incurred if distance is above `soft_max_meters` limit.
Cost per kilometer incurred, increasing up to `soft_max_meters`, with
formula:
```
min(distance_meters, soft_max_meters) / 1000.0 *
cost_per_kilometer_below_soft_max.
```
This cost is not supported in `route_distance_limit`.
A hard limit constraining the distance to be at most max_meters.
A soft limit not enforcing a maximum distance limit, but when violated
results in a cost which adds up to other costs defined in the model,
with the same unit.
Specifies a limit on the distance traveled while performing this
transition.
Limit applied to the total distance of the vehicle's route.