enum Google::Maps::RouteOptimization::SkippedShipment::Reason::Code
Overview
Code identifying the reason type for skipped shipments
Defined in:
maps.crEnum Members
-
CODE_UNSPECIFIED =
0
-
This should never be used
-
NO_VEHICLE =
1
-
There is no vehicle in the model making all shipments infeasible
-
DEMAND_EXCEEDS_VEHICLE_CAPACITY =
2
-
The demand of the shipment exceeds a vehicle's capacity for some capacity types
-
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DISTANCE_LIMIT =
3
-
The minimum distance necessary to perform this shipment exceeds the vehicle's routeDistanceLimit
-
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DURATION_LIMIT =
4
-
The minimum time necessary to perform this shipment, including travel time, wait time and service time exceeds the vehicle's routeDurationLimit
-
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TRAVEL_DURATION_LIMIT =
5
-
Same as above but we only compare minimum travel time and the vehicle's travelDurationLimit
-
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TIME_WINDOWS =
6
-
The vehicle cannot perform this shipment in the best-case scenario if it starts at its earliest start time
-
VEHICLE_NOT_ALLOWED =
7
-
The allowedVehicleIndices field of the shipment is not empty and this vehicle does not belong to it
Instance Method Summary
- #cannot_be_performed_within_vehicle_distance_limit?
- #cannot_be_performed_within_vehicle_duration_limit?
- #cannot_be_performed_within_vehicle_time_windows?
- #cannot_be_performed_within_vehicle_travel_duration_limit?
- #code_unspecified?
- #demand_exceeds_vehicle_capacity?
- #no_vehicle?
- #vehicle_not_allowed?