Class AggregatedMetrics (1.0.0-beta01)

public sealed class AggregatedMetrics : IMessage<AggregatedMetrics>, IEquatable<AggregatedMetrics>, IDeepCloneable<AggregatedMetrics>, IBufferMessage, IMessage

Aggregated metrics for [ShipmentRoute][google.cloud.optimization.v1.ShipmentRoute] (resp. for [OptimizeToursResponse][google.cloud.optimization.v1.OptimizeToursResponse] over all [Transition][google.cloud.optimization.v1.ShipmentRoute.Transition] and/or [Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] (resp. over all [ShipmentRoute][google.cloud.optimization.v1.ShipmentRoute]) elements.

Inheritance

Object > AggregatedMetrics

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

AggregatedMetrics()

public AggregatedMetrics()

AggregatedMetrics(AggregatedMetrics)

public AggregatedMetrics(AggregatedMetrics other)
Parameter
NameDescription
otherAggregatedMetrics

Properties

BreakDuration

public Duration BreakDuration { get; set; }

Total break duration for a route or a solution.

Property Value
TypeDescription
Duration

Costs

[Obsolete]
public MapField<string, double> Costs { get; }

Deprecated: Use [ShipmentRoute.route_costs][] and [OptimizeToursResponse.Metrics.costs][] instead.

Property Value
TypeDescription
MapField<String, Double>

DelayDuration

public Duration DelayDuration { get; set; }

Total delay duration for a route or a solution.

Property Value
TypeDescription
Duration

MaxLoads

public MapField<string, ShipmentRoute.Types.VehicleLoad> MaxLoads { get; }

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.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp. [ShipmentRoute.metrics.max_loads][google.cloud.optimization.v1.AggregatedMetrics.max_loads].

Property Value
TypeDescription
MapField<String, ShipmentRoute.Types.VehicleLoad>

PerformedShipmentCount

public int PerformedShipmentCount { get; set; }

Number of shipments performed. Note that a pickup and delivery pair only counts once.

Property Value
TypeDescription
Int32

TotalCost

[Obsolete]
public double TotalCost { get; set; }

Deprecated: Use [ShipmentRoute.route_total_cost][] and [OptimizeToursResponse.Metrics.total_cost][] instead.

Property Value
TypeDescription
Double

TotalDuration

public Duration TotalDuration { get; set; }

The total duration should be equal to the sum of all durations above. For routes, it also corresponds to [ShipmentRoute.vehicle_end_time][google.cloud.optimization.v1.ShipmentRoute.vehicle_end_time] - [ShipmentRoute.vehicle_start_time][google.cloud.optimization.v1.ShipmentRoute.vehicle_start_time].

Property Value
TypeDescription
Duration

TravelDistanceMeters

public double TravelDistanceMeters { get; set; }

Total travel distance for a route or a solution.

Property Value
TypeDescription
Double

TravelDuration

public Duration TravelDuration { get; set; }

Total travel duration for a route or a solution.

Property Value
TypeDescription
Duration

VisitDuration

public Duration VisitDuration { get; set; }

Total visit duration for a route or a solution.

Property Value
TypeDescription
Duration

WaitDuration

public Duration WaitDuration { get; set; }

Total wait duration for a route or a solution.

Property Value
TypeDescription
Duration