Interface RoutesConstraintProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RoutesConstraintProto
,RoutesConstraintProto.Builder
@Generated
public interface RoutesConstraintProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong
int64 capacity = 5;
int
getDemands
(int index) DEPRECATED.int
DEPRECATED.DEPRECATED.getDimensions
(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.int
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.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.getDimensionsOrBuilder
(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.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.int
getHeads
(int index) repeated int32 heads = 2;
int
repeated int32 heads = 2;
repeated int32 heads = 2;
int
getLiterals
(int index) repeated int32 literals = 3;
int
repeated int32 literals = 3;
repeated int32 literals = 3;
int
getTails
(int index) repeated int32 tails = 1;
int
repeated int32 tails = 1;
repeated int32 tails = 1;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTailsList
-
getTailsCount
int getTailsCount()repeated int32 tails = 1;
- Returns:
- The count of tails.
-
getTails
int getTails(int index) repeated int32 tails = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The tails at the given index.
-
getHeadsList
-
getHeadsCount
int getHeadsCount()repeated int32 heads = 2;
- Returns:
- The count of heads.
-
getHeads
int getHeads(int index) repeated int32 heads = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The heads at the given index.
-
getLiteralsList
-
getLiteralsCount
int getLiteralsCount()repeated int32 literals = 3;
- Returns:
- The count of literals.
-
getLiterals
int getLiterals(int index) repeated int32 literals = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The literals at the given index.
-
getDemandsList
-
getDemandsCount
int getDemandsCount()DEPRECATED. These fields are no longer used. The solver ignores them.
repeated int32 demands = 4;
- Returns:
- The count of demands.
-
getDemands
int getDemands(int index) DEPRECATED. These fields are no longer used. The solver ignores them.
repeated int32 demands = 4;
- Parameters:
index
- The index of the element to return.- Returns:
- The demands at the given index.
-
getCapacity
long getCapacity()int64 capacity = 5;
- Returns:
- The capacity.
-
getDimensionsList
List<RoutesConstraintProto.NodeExpressions> getDimensionsList()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. Expressions with the same "dimension" (such as "load" or "time") must be listed together. This field is optional. If it is set, the linear constraints of size 1 or 2 between the variables in these expressions will be used to derive cuts for this constraint. If it is not set, the solver will try to automatically derive it, from the linear constraints of size 1 or 2 in the model (this can fail in complex cases).
repeated .operations_research.sat.RoutesConstraintProto.NodeExpressions dimensions = 6;
-
getDimensions
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. Expressions with the same "dimension" (such as "load" or "time") must be listed together. This field is optional. If it is set, the linear constraints of size 1 or 2 between the variables in these expressions will be used to derive cuts for this constraint. If it is not set, the solver will try to automatically derive it, from the linear constraints of size 1 or 2 in the model (this can fail in complex cases).
repeated .operations_research.sat.RoutesConstraintProto.NodeExpressions dimensions = 6;
-
getDimensionsCount
int getDimensionsCount()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. Expressions with the same "dimension" (such as "load" or "time") must be listed together. This field is optional. If it is set, the linear constraints of size 1 or 2 between the variables in these expressions will be used to derive cuts for this constraint. If it is not set, the solver will try to automatically derive it, from the linear constraints of size 1 or 2 in the model (this can fail in complex cases).
repeated .operations_research.sat.RoutesConstraintProto.NodeExpressions dimensions = 6;
-
getDimensionsOrBuilderList
List<? extends RoutesConstraintProto.NodeExpressionsOrBuilder> getDimensionsOrBuilderList()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. Expressions with the same "dimension" (such as "load" or "time") must be listed together. This field is optional. If it is set, the linear constraints of size 1 or 2 between the variables in these expressions will be used to derive cuts for this constraint. If it is not set, the solver will try to automatically derive it, from the linear constraints of size 1 or 2 in the model (this can fail in complex cases).
repeated .operations_research.sat.RoutesConstraintProto.NodeExpressions dimensions = 6;
-
getDimensionsOrBuilder
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. Expressions with the same "dimension" (such as "load" or "time") must be listed together. This field is optional. If it is set, the linear constraints of size 1 or 2 between the variables in these expressions will be used to derive cuts for this constraint. If it is not set, the solver will try to automatically derive it, from the linear constraints of size 1 or 2 in the model (this can fail in complex cases).
repeated .operations_research.sat.RoutesConstraintProto.NodeExpressions dimensions = 6;
-