Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
NoOverlap2dConstraint (CpModelProto.Builder builder) | |
NoOverlap2dConstraint | addRectangle (IntervalVar xInterval, IntervalVar yInterval) |
Adds a rectangle (xInterval, yInterval) to the constraint. | |
NoOverlap2dConstraint (CpModelProto.Builder builder) | |
NoOverlap2dConstraint | addRectangle (IntervalVar xInterval, IntervalVar yInterval) |
Adds a rectangle (xInterval, yInterval) to the constraint. | |
Public Member Functions inherited from com.google.ortools.sat.Constraint | |
Constraint (CpModelProto.Builder builder) | |
void | onlyEnforceIf (Literal lit) |
void | onlyEnforceIf (Literal[] lits) |
int | getIndex () |
ConstraintProto.Builder | getBuilder () |
Constraint (CpModelProto.Builder builder) | |
void | onlyEnforceIf (Literal lit) |
void | onlyEnforceIf (Literal[] lits) |
int | getIndex () |
ConstraintProto.Builder | getBuilder () |
Specialized NoOverlap2D constraint.
This constraint allows adding rectanles to the NoOverlap2D constraint incrementally.
Definition at line 24 of file NoOverlap2dConstraint.java.
com.google.ortools.sat.NoOverlap2dConstraint.NoOverlap2dConstraint | ( | CpModelProto.Builder | builder | ) |
Definition at line 25 of file NoOverlap2dConstraint.java.
com.google.ortools.sat.NoOverlap2dConstraint.NoOverlap2dConstraint | ( | CpModelProto.Builder | builder | ) |
Definition at line 25 of file NoOverlap2dConstraint.java.
NoOverlap2dConstraint com.google.ortools.sat.NoOverlap2dConstraint.addRectangle | ( | IntervalVar | xInterval, |
IntervalVar | yInterval ) |
Adds a rectangle (xInterval, yInterval) to the constraint.
Definition at line 30 of file NoOverlap2dConstraint.java.
NoOverlap2dConstraint com.google.ortools.sat.NoOverlap2dConstraint.addRectangle | ( | IntervalVar | xInterval, |
IntervalVar | yInterval ) |
Adds a rectangle (xInterval, yInterval) to the constraint.
Definition at line 30 of file NoOverlap2dConstraint.java.