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
long solutionIntegerValue(int index)
Definition: SolutionCallback.java:94
int getIndex()
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
boolean solutionBooleanValue(int index)
Definition: SolutionCallback.java:98
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: java/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