Class OptimizeToursResponse
Response after solving a tour optimization problem containing the routes followed by each vehicle, the shipments which have been skipped and the overall cost of the solution.
Implements
Namespace: Google.Maps.RouteOptimization.V1
Assembly: Google.Maps.RouteOptimization.V1.dll
Syntax
public sealed class OptimizeToursResponse : IMessage<OptimizeToursResponse>, IEquatable<OptimizeToursResponse>, IDeepCloneable<OptimizeToursResponse>, IBufferMessage, IMessage
Constructors
OptimizeToursResponse()
Declaration
public OptimizeToursResponse()
OptimizeToursResponse(OptimizeToursResponse)
Declaration
public OptimizeToursResponse(OptimizeToursResponse other)
Parameters
Type | Name | Description |
---|---|---|
OptimizeToursResponse | other |
Properties
Metrics
Duration, distance and usage metrics for this solution.
Declaration
public OptimizeToursResponse.Types.Metrics Metrics { get; set; }
Property Value
Type | Description |
---|---|
OptimizeToursResponse.Types.Metrics |
RequestLabel
Copy of the [OptimizeToursRequest.label][google.maps.routeoptimization.v1.OptimizeToursRequest.label], if a label was specified in the request.
Declaration
public string RequestLabel { get; set; }
Property Value
Type | Description |
---|---|
string |
Routes
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
Declaration
public RepeatedField<ShipmentRoute> Routes { get; }
Property Value
Type | Description |
---|---|
RepeatedField<ShipmentRoute> |
SkippedShipments
The list of all shipments skipped.
Declaration
public RepeatedField<SkippedShipment> SkippedShipments { get; }
Property Value
Type | Description |
---|---|
RepeatedField<SkippedShipment> |
ValidationErrors
List of all the validation errors that we were able to detect
independently. See the "MULTIPLE ERRORS" explanation for the
[OptimizeToursValidationError][google.maps.routeoptimization.v1.OptimizeToursValidationError]
message. Instead of errors, this will include warnings in the case
solving_mode
is DEFAULT_SOLVE
.
Declaration
public RepeatedField<OptimizeToursValidationError> ValidationErrors { get; }
Property Value
Type | Description |
---|---|
RepeatedField<OptimizeToursValidationError> |