Show / Hide Table of Contents

Class InjectedSolutionConstraint

Solution injected in the request including information about which visits must be constrained and how they must be constrained.

Inheritance
object
InjectedSolutionConstraint
Implements
IMessage<InjectedSolutionConstraint>
IEquatable<InjectedSolutionConstraint>
IDeepCloneable<InjectedSolutionConstraint>
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 InjectedSolutionConstraint : IMessage<InjectedSolutionConstraint>, IEquatable<InjectedSolutionConstraint>, IDeepCloneable<InjectedSolutionConstraint>, IBufferMessage, IMessage

Constructors

InjectedSolutionConstraint()

Declaration
public InjectedSolutionConstraint()

InjectedSolutionConstraint(InjectedSolutionConstraint)

Declaration
public InjectedSolutionConstraint(InjectedSolutionConstraint other)
Parameters
Type Name Description
InjectedSolutionConstraint other

Properties

ConstraintRelaxations

For zero or more groups of vehicles, specifies when and how much to relax constraints. If this field is empty, all non-empty vehicle routes are fully constrained.

Declaration
public RepeatedField<InjectedSolutionConstraint.Types.ConstraintRelaxation> ConstraintRelaxations { get; }
Property Value
Type Description
RepeatedField<InjectedSolutionConstraint.Types.ConstraintRelaxation>

Routes

Routes of the solution to inject. Some routes may be omitted from the original solution. The routes and skipped shipments must satisfy the basic validity assumptions listed for injected_first_solution_routes.

Declaration
public RepeatedField<ShipmentRoute> Routes { get; }
Property Value
Type Description
RepeatedField<ShipmentRoute>

SkippedShipments

Skipped shipments of the solution to inject. Some may be omitted from the original solution. See the routes field.

Declaration
public RepeatedField<SkippedShipment> SkippedShipments { get; }
Property Value
Type Description
RepeatedField<SkippedShipment>
In this article
Back to top Generated by DocFX