Java Reference
Java Reference
BoolVar.java
Go to the documentation of this file.
An integer variable.
Definition: java/com/google/ortools/sat/IntVar.java:21
int getIndex()
Returns the index of the variable in the underlying CpModelProto.
Definition: java/com/google/ortools/sat/IntVar.java:44
final IntegerVariableProto.Builder varBuilder
Definition: java/com/google/ortools/sat/IntVar.java:95
String getName()
Returns the name of the variable given upon creation.
Definition: java/com/google/ortools/sat/IntVar.java:39
String displayBounds()
Returns the domain as a string without the enclosing [].
Definition: java/com/google/ortools/sat/IntVar.java:60
java.lang.String getName()
Definition: IntegerVariableProto.java:145
long getDomain(int index)
Definition: IntegerVariableProto.java:254
int getDomainCount()
Definition: IntegerVariableProto.java:229
We call domain any subset of Int64 = [kint64min, kint64max].
Definition: util/Domain.java:21
Interface to describe a boolean variable or its negation.
Definition: Literal.java:17