Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Specialized NoOverlap2D constraint. More...
Public Member Functions | |
NoOverlap2dConstraint (CpModelProto model) | |
NoOverlap2dConstraint | AddRectangle (IntervalVar xInterval, IntervalVar yInterval) |
Adds a rectangle (xInterval, yInterval) to the constraint. | |
Public Member Functions inherited from Google.OrTools.Sat.Constraint | |
Constraint (CpModelProto model) | |
void | OnlyEnforceIf (ILiteral lit) |
Adds a literal to the constraint. | |
void | OnlyEnforceIf (ILiteral[] lits) |
Adds a list of literals to the constraint. | |
Additional Inherited Members | |
Properties inherited from Google.OrTools.Sat.Constraint | |
int | Index [get] |
The index of the constraint in the model. | |
ConstraintProto | Proto [get, set] |
The underlying constraint proto. | |
Specialized NoOverlap2D constraint.
This constraint allows adding rectangles to the NoOverlap2D constraint incrementally.
Definition at line 406 of file Constraints.cs.
|
inline |
Definition at line 408 of file Constraints.cs.
|
inline |
Adds a rectangle (xInterval, yInterval) to the constraint.
Definition at line 413 of file Constraints.cs.