public interface LinearBooleanConstraintOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getCoefficients(int index)
repeated int64 coefficients = 2; |
int |
getCoefficientsCount()
repeated int64 coefficients = 2; |
java.util.List<java.lang.Long> |
getCoefficientsList()
repeated int64 coefficients = 2; |
int |
getLiterals(int index)
Linear terms involved in this constraint.
|
int |
getLiteralsCount()
Linear terms involved in this constraint.
|
java.util.List<java.lang.Integer> |
getLiteralsList()
Linear terms involved in this constraint.
|
long |
getLowerBound()
Optional lower (resp. upper) bound of the constraint.
|
java.lang.String |
getName()
The name of this constraint.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of this constraint.
|
long |
getUpperBound()
optional int64 upper_bound = 4; |
boolean |
hasLowerBound()
Optional lower (resp. upper) bound of the constraint.
|
boolean |
hasName()
The name of this constraint.
|
boolean |
hasUpperBound()
optional int64 upper_bound = 4; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.util.List<java.lang.Integer> getLiteralsList()
Linear terms involved in this constraint. literals[i] is the signed representation of the i-th literal of the constraint and coefficients[i] its coefficients. The signed representation is as follow: for a 0-based variable index x, (x + 1) represents the variable x and -(x + 1) represents its negation. Note that the same variable shouldn't appear twice and that zero coefficients are not allowed.
repeated int32 literals = 1;
int getLiteralsCount()
Linear terms involved in this constraint. literals[i] is the signed representation of the i-th literal of the constraint and coefficients[i] its coefficients. The signed representation is as follow: for a 0-based variable index x, (x + 1) represents the variable x and -(x + 1) represents its negation. Note that the same variable shouldn't appear twice and that zero coefficients are not allowed.
repeated int32 literals = 1;
int getLiterals(int index)
Linear terms involved in this constraint. literals[i] is the signed representation of the i-th literal of the constraint and coefficients[i] its coefficients. The signed representation is as follow: for a 0-based variable index x, (x + 1) represents the variable x and -(x + 1) represents its negation. Note that the same variable shouldn't appear twice and that zero coefficients are not allowed.
repeated int32 literals = 1;
index
- The index of the element to return.java.util.List<java.lang.Long> getCoefficientsList()
repeated int64 coefficients = 2;
int getCoefficientsCount()
repeated int64 coefficients = 2;
long getCoefficients(int index)
repeated int64 coefficients = 2;
index
- The index of the element to return.boolean hasLowerBound()
Optional lower (resp. upper) bound of the constraint. If not present, it means that the constraint is not bounded in this direction. The bounds are INCLUSIVE.
optional int64 lower_bound = 3;
long getLowerBound()
Optional lower (resp. upper) bound of the constraint. If not present, it means that the constraint is not bounded in this direction. The bounds are INCLUSIVE.
optional int64 lower_bound = 3;
boolean hasUpperBound()
optional int64 upper_bound = 4;
long getUpperBound()
optional int64 upper_bound = 4;
boolean hasName()
The name of this constraint.
optional string name = 5 [default = ""];
java.lang.String getName()
The name of this constraint.
optional string name = 5 [default = ""];
com.google.protobuf.ByteString getNameBytes()
The name of this constraint.
optional string name = 5 [default = ""];
Copyright © 2025. All rights reserved.