DotNet Reference
DotNet Reference
Constraint
Detailed Description
Definition at line 19 of file Constraints.cs.
Public Member Functions | |
| Constraint (CpModelProto model) | |
| void | OnlyEnforceIf (ILiteral lit) |
| void | OnlyEnforceIf (ILiteral[] lits) |
Properties | |
| int | Index [get] |
| ConstraintProto | Proto [get, set] |
Constructor & Destructor Documentation
◆ Constraint()
|
inline |
Definition at line 21 of file Constraints.cs.
Member Function Documentation
◆ OnlyEnforceIf() [1/2]
|
inline |
Definition at line 28 of file Constraints.cs.
◆ OnlyEnforceIf() [2/2]
|
inline |
Definition at line 33 of file Constraints.cs.
Property Documentation
◆ Index
|
get |
Definition at line 40 of file Constraints.cs.
◆ Proto
|
getset |
Definition at line 45 of file Constraints.cs.
The documentation for this class was generated from the following file: