Show / Hide Table of Contents

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.

Inheritance
object
AggregatedMetrics
Implements
IMessage<AggregatedMetrics>
IEquatable<AggregatedMetrics>
IDeepCloneable<AggregatedMetrics>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
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

HasPerformedMandatoryShipmentCount

Gets whether the "performed_mandatory_shipment_count" field is set

Declaration
public bool HasPerformedMandatoryShipmentCount { get; }
Property Value
Type Description
bool

HasPerformedShipmentPenaltyCostSum

Gets whether the "performed_shipment_penalty_cost_sum" field is set

Declaration
public bool HasPerformedShipmentPenaltyCostSum { get; }
Property Value
Type Description
bool

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>

PerformedMandatoryShipmentCount

Number of mandatory shipments performed.

Experimental: This field's behavior or existence may change in future.

Declaration
public int PerformedMandatoryShipmentCount { get; set; }
Property Value
Type Description
int

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

PerformedShipmentPenaltyCostSum

The sum of the [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost] of the performed shipments.

Experimental: This field's behavior or existence may change in future.

Declaration
public double PerformedShipmentPenaltyCostSum { get; set; }
Property Value
Type Description
double

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
In this article
Back to top Generated by DocFX