Uses of Class
com.google.ortools.sat.RoutesConstraintProto.Builder
Packages that use RoutesConstraintProto.Builder
-
Uses of RoutesConstraintProto.Builder in com.google.ortools.sat
Subclasses with type arguments of type RoutesConstraintProto.Builder in com.google.ortools.satModifier and TypeClassDescriptionstatic final class
The "VRP" (Vehicle Routing Problem) constraint.Methods in com.google.ortools.sat that return RoutesConstraintProto.BuilderModifier and TypeMethodDescriptionRoutesConstraintProto.Builder.addAllDemands
(Iterable<? extends Integer> values) DEPRECATED.RoutesConstraintProto.Builder.addAllDimensions
(Iterable<? extends RoutesConstraintProto.NodeExpressions> values) Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node.RoutesConstraintProto.Builder.addAllHeads
(Iterable<? extends Integer> values) repeated int32 heads = 2;
RoutesConstraintProto.Builder.addAllLiterals
(Iterable<? extends Integer> values) repeated int32 literals = 3;
RoutesConstraintProto.Builder.addAllTails
(Iterable<? extends Integer> values) repeated int32 tails = 1;
RoutesConstraintProto.Builder.addDemands
(int value) DEPRECATED.RoutesConstraintProto.Builder.addDimensions
(int index, RoutesConstraintProto.NodeExpressions value) Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node.RoutesConstraintProto.Builder.addDimensions
(int index, RoutesConstraintProto.NodeExpressions.Builder builderForValue) Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node.RoutesConstraintProto.Builder.addDimensions
(RoutesConstraintProto.NodeExpressions value) Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node.RoutesConstraintProto.Builder.addDimensions
(RoutesConstraintProto.NodeExpressions.Builder builderForValue) Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node.RoutesConstraintProto.Builder.addHeads
(int value) repeated int32 heads = 2;
RoutesConstraintProto.Builder.addLiterals
(int value) repeated int32 literals = 3;
RoutesConstraintProto.Builder.addTails
(int value) repeated int32 tails = 1;
RoutesConstraintProto.Builder.clear()
RoutesConstraintProto.Builder.clearCapacity()
int64 capacity = 5;
RoutesConstraintProto.Builder.clearDemands()
DEPRECATED.RoutesConstraintProto.Builder.clearDimensions()
Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node.RoutesConstraintProto.Builder.clearHeads()
repeated int32 heads = 2;
RoutesConstraintProto.Builder.clearLiterals()
repeated int32 literals = 3;
RoutesConstraintProto.Builder.clearTails()
repeated int32 tails = 1;
ConstraintProto.Builder.getRoutesBuilder()
The routes constraint implements the vehicle routing problem.RoutesConstraintProto.Builder.mergeFrom
(RoutesConstraintProto other) RoutesConstraintProto.Builder.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) RoutesConstraintProto.Builder.mergeFrom
(com.google.protobuf.Message other) RoutesConstraintProto.newBuilder()
RoutesConstraintProto.newBuilder
(RoutesConstraintProto prototype) RoutesConstraintProto.newBuilderForType()
protected RoutesConstraintProto.Builder
RoutesConstraintProto.newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) RoutesConstraintProto.Builder.removeDimensions
(int index) Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node.RoutesConstraintProto.Builder.setCapacity
(long value) int64 capacity = 5;
RoutesConstraintProto.Builder.setDemands
(int index, int value) DEPRECATED.RoutesConstraintProto.Builder.setDimensions
(int index, RoutesConstraintProto.NodeExpressions value) Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node.RoutesConstraintProto.Builder.setDimensions
(int index, RoutesConstraintProto.NodeExpressions.Builder builderForValue) Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node.RoutesConstraintProto.Builder.setHeads
(int index, int value) repeated int32 heads = 2;
RoutesConstraintProto.Builder.setLiterals
(int index, int value) repeated int32 literals = 3;
RoutesConstraintProto.Builder.setTails
(int index, int value) repeated int32 tails = 1;
RoutesConstraintProto.toBuilder()
Methods in com.google.ortools.sat with parameters of type RoutesConstraintProto.BuilderModifier and TypeMethodDescriptionConstraintProto.Builder.setRoutes
(RoutesConstraintProto.Builder builderForValue) The routes constraint implements the vehicle routing problem.