public sealed class AggregatedMetrics : IMessage<AggregatedMetrics>, IEquatable<AggregatedMetrics>, IDeepCloneable<AggregatedMetrics>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Optimization v1 API class AggregatedMetrics.
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.
Implements
IMessage<AggregatedMetrics>, IEquatable<AggregatedMetrics>, IDeepCloneable<AggregatedMetrics>, IBufferMessage, IMessageNamespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Constructors
AggregatedMetrics()
public AggregatedMetrics()
AggregatedMetrics(AggregatedMetrics)
public AggregatedMetrics(AggregatedMetrics other)
Parameter | |
---|---|
Name | Description |
other | AggregatedMetrics |
Properties
BreakDuration
public Duration BreakDuration { get; set; }
Total break duration for a route or a solution.
Property Value | |
---|---|
Type | Description |
Duration |
Costs
[Obsolete]
public MapField<string, double> Costs { get; }
Deprecated: Use [ShipmentRoute.route_costs][] and [OptimizeToursResponse.Metrics.costs][] instead.
Property Value | |
---|---|
Type | Description |
MapField<String, Double> |
DelayDuration
public Duration DelayDuration { get; set; }
Total delay duration for a route or a solution.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Int32 |
TotalCost
[Obsolete]
public double TotalCost { get; set; }
Deprecated: Use [ShipmentRoute.route_total_cost][] and [OptimizeToursResponse.Metrics.total_cost][] instead.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Duration |
TravelDistanceMeters
public double TravelDistanceMeters { get; set; }
Total travel distance for a route or a solution.
Property Value | |
---|---|
Type | Description |
Double |
TravelDuration
public Duration TravelDuration { get; set; }
Total travel duration for a route or a solution.
Property Value | |
---|---|
Type | Description |
Duration |
VisitDuration
public Duration VisitDuration { get; set; }
Total visit duration for a route or a solution.
Property Value | |
---|---|
Type | Description |
Duration |
WaitDuration
public Duration WaitDuration { get; set; }
Total wait duration for a route or a solution.
Property Value | |
---|---|
Type | Description |
Duration |