Class AggregatedMetrics
Aggregated metrics for [ShipmentRoute][google.maps.routeoptimization.v1.ShipmentRoute] (resp. for [OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse] over all [Transition][google.maps.routeoptimization.v1.ShipmentRoute.Transition] and/or [Visit][google.maps.routeoptimization.v1.ShipmentRoute.Visit] (resp. over all [ShipmentRoute][google.maps.routeoptimization.v1.ShipmentRoute]) elements.
Implements
Namespace: Google.Maps.RouteOptimization.V1
Assembly: Google.Maps.RouteOptimization.V1.dll
Syntax
public sealed class AggregatedMetrics : IMessage<AggregatedMetrics>, IEquatable<AggregatedMetrics>, IDeepCloneable<AggregatedMetrics>, IBufferMessage, IMessage
Constructors
AggregatedMetrics()
Declaration
public AggregatedMetrics()
AggregatedMetrics(AggregatedMetrics)
Declaration
public AggregatedMetrics(AggregatedMetrics other)
Parameters
Type | Name | Description |
---|---|---|
AggregatedMetrics | other |
Properties
BreakDuration
Total break duration for a route or a solution.
Declaration
public Duration BreakDuration { get; set; }
Property Value
Type | Description |
---|---|
Duration |
DelayDuration
Total delay duration for a route or a solution.
Declaration
public Duration DelayDuration { get; set; }
Property Value
Type | Description |
---|---|
Duration |
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 [Transition.vehicle_loads][google.maps.routeoptimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp. [ShipmentRoute.metrics.max_loads][google.maps.routeoptimization.v1.AggregatedMetrics.max_loads].
Declaration
public MapField<string, ShipmentRoute.Types.VehicleLoad> MaxLoads { get; }
Property Value
Type | Description |
---|---|
MapField<string, ShipmentRoute.Types.VehicleLoad> |
PerformedShipmentCount
Number of shipments performed. Note that a pickup and delivery pair only counts once.
Declaration
public int PerformedShipmentCount { get; set; }
Property Value
Type | Description |
---|---|
int |
TotalDuration
The total duration should be equal to the sum of all durations above. For routes, it also corresponds to:
[ShipmentRoute.vehicle_end_time][google.maps.routeoptimization.v1.ShipmentRoute.vehicle_end_time]
-
[ShipmentRoute.vehicle_start_time][google.maps.routeoptimization.v1.ShipmentRoute.vehicle_start_time]
Declaration
public Duration TotalDuration { get; set; }
Property Value
Type | Description |
---|---|
Duration |
TravelDistanceMeters
Total travel distance for a route or a solution.
Declaration
public double TravelDistanceMeters { get; set; }
Property Value
Type | Description |
---|---|
double |
TravelDuration
Total travel duration for a route or a solution.
Declaration
public Duration TravelDuration { get; set; }
Property Value
Type | Description |
---|---|
Duration |
VisitDuration
Total visit duration for a route or a solution.
Declaration
public Duration VisitDuration { get; set; }
Property Value
Type | Description |
---|---|
Duration |
WaitDuration
Total wait duration for a route or a solution.
Declaration
public Duration WaitDuration { get; set; }
Property Value
Type | Description |
---|---|
Duration |