Java Reference
Java Reference
Constraint.java
Go to the documentation of this file.
void onlyEnforceIf(Literal[] lits)
Adds a list of literals to the constraint.
Definition: Constraint.java:37
Constraint(CpModelProto.Builder builder)
Definition: Constraint.java:26
Interface to describe a boolean variable or its negation.
Definition: Literal.java:17
int getIndex()