Java Reference
Java Reference
CpSolverSolutionCallback.java
Go to the documentation of this file.
long value(IntVar var)
Returns the value of the variable in the current solution.
Definition: CpSolverSolutionCallback.java:41
int getIndex()
Interface to describe a boolean variable or its negation.
Definition: Literal.java:17
Parent class to create a callback called at each solution.
Definition: CpSolverSolutionCallback.java:39
int getIndex()
Internal, returns the index of the variable in the underlying CpModelProto.
Definition: com/google/ortools/sat/IntVar.java:45
Boolean booleanValue(Literal literal)
Returns the Boolean value of the literal in the current solution.
Definition: CpSolverSolutionCallback.java:47