AI-generated Key Takeaways
-
This data represents aggregated metrics for either a
ShipmentRoute
or anOptimizeToursResponse
, covering allTransition
andVisit
elements or allShipmentRoute
elements, respectively. -
The JSON representation of these metrics includes fields such as
performedShipmentCount
,travelDuration
,waitDuration
,delayDuration
,breakDuration
,visitDuration
,totalDuration
,travelDistanceMeters
, andmaxLoads
. -
Each duration field (
travelDuration
,waitDuration
,delayDuration
,breakDuration
,visitDuration
,totalDuration
) is represented as a string in the Duration format, specifying a time in seconds. -
The
maxLoads
field is a map that provides the maximum load achieved for each quantity over the entire route or solution. -
The total duration is equal to the sum of all the durations fields presented, and corresponds to the difference between the vehicle end time and the vehicle start time.
Aggregated metrics for ShipmentRoute
(resp. for OptimizeToursResponse
over all Transition
and/or Visit
(resp. over all ShipmentRoute
) elements.
JSON representation |
---|
{
"performedShipmentCount": integer,
"travelDuration": string,
"waitDuration": string,
"delayDuration": string,
"breakDuration": string,
"visitDuration": string,
"totalDuration": string,
"travelDistanceMeters": number,
"maxLoads": {
string: {
object ( |
Fields | |
---|---|
performedShipmentCount |
Number of shipments performed. Note that a pickup and delivery pair only counts once. |
travelDuration |
Total travel duration for a route or a solution. A duration in seconds with up to nine fractional digits, ending with ' |
waitDuration |
Total wait duration for a route or a solution. A duration in seconds with up to nine fractional digits, ending with ' |
delayDuration |
Total delay duration for a route or a solution. A duration in seconds with up to nine fractional digits, ending with ' |
breakDuration |
Total break duration for a route or a solution. A duration in seconds with up to nine fractional digits, ending with ' |
visitDuration |
Total visit duration for a route or a solution. A duration in seconds with up to nine fractional digits, ending with ' |
totalDuration |
The total duration should be equal to the sum of all durations above. For routes, it also corresponds to:
A duration in seconds with up to nine fractional digits, ending with ' |
travelDistanceMeters |
Total travel distance for a route or a solution. |
maxLoads |
Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all |