Java Reference
Java Reference
NotBooleanVariable.java
Go to the documentation of this file.
The negation of a boolean variable.
Definition: NotBooleanVariable.java:20
int getIndex()
Internal: returns the index in the literal in the underlying CpModelProto.
Definition: NotBooleanVariable.java:27
String getShortString()
Returns a short string describing the variable.
Definition: java/com/google/ortools/sat/IntVar.java:79
NotBooleanVariable(IntVar boolVar)
Definition: NotBooleanVariable.java:21
An integer variable.
Definition: java/com/google/ortools/sat/IntVar.java:21
Interface to describe a boolean variable or its negation.
Definition: Literal.java:17
String getShortString()
Returns a short string describing this literal.
Definition: NotBooleanVariable.java:39
int getIndex()
Internal, returns the index of the variable in the underlying CpModelProto.
Definition: java/com/google/ortools/sat/IntVar.java:45