DotNet Reference
.Net Reference
Detailed Description
Holds a linear constraint: expression ∈ domain
This class must be constructed from the CpModel class or from the comparison operators.
Definition at line 860 of file IntegerExpressions.cs.
Public Types | |
| enum class | Type { BoundExpression , VarEqVar , VarDiffVar , VarEqCst , VarDiffCst } |
Public Member Functions | |
| BoundedLinearExpression (long lb, LinearExpr expr, long ub) | |
| BoundedLinearExpression (LinearExpr left, LinearExpr right, bool equality) | |
| BoundedLinearExpression (LinearExpr left, long v, bool equality) | |
| override string | ToString () |
Static Public Member Functions | |
| static bool | operator true (BoundedLinearExpression bie) |
| static bool | operator false (BoundedLinearExpression bie) |
| static BoundedLinearExpression | operator<= (BoundedLinearExpression a, long v) |
| static BoundedLinearExpression | operator< (BoundedLinearExpression a, long v) |
| static BoundedLinearExpression | operator>= (BoundedLinearExpression a, long v) |
| static BoundedLinearExpression | operator> (BoundedLinearExpression a, long v) |
Properties | |
| LinearExpr | Left [get] |
| LinearExpr | Right [get] |
| long | Lb [get] |
| long | Ub [get] |
| Type | CtType [get] |
Member Enumeration Documentation
◆ Type
|
strong |
| Enumerator | |
|---|---|
| BoundExpression | |
| VarEqVar | |
| VarDiffVar | |
| VarEqCst | |
| VarDiffCst | |
Definition at line 862 of file IntegerExpressions.cs.
Constructor & Destructor Documentation
◆ BoundedLinearExpression() [1/3]
|
inline |
Definition at line 871 of file IntegerExpressions.cs.
◆ BoundedLinearExpression() [2/3]
|
inline |
Definition at line 880 of file IntegerExpressions.cs.
◆ BoundedLinearExpression() [3/3]
|
inline |
Definition at line 889 of file IntegerExpressions.cs.
Member Function Documentation
◆ operator false()
|
inlinestatic |
Definition at line 916 of file IntegerExpressions.cs.
◆ operator true()
|
inlinestatic |
Definition at line 911 of file IntegerExpressions.cs.
◆ operator<()
|
inlinestatic |
Definition at line 949 of file IntegerExpressions.cs.
◆ operator<=()
|
inlinestatic |
Definition at line 940 of file IntegerExpressions.cs.
◆ operator>()
|
inlinestatic |
Definition at line 967 of file IntegerExpressions.cs.
◆ operator>=()
|
inlinestatic |
Definition at line 958 of file IntegerExpressions.cs.
◆ ToString()
|
inline |
Definition at line 921 of file IntegerExpressions.cs.
Property Documentation
◆ CtType
|
get |
Definition at line 1004 of file IntegerExpressions.cs.
◆ Lb
|
get |
Definition at line 990 of file IntegerExpressions.cs.
◆ Left
|
get |
Definition at line 976 of file IntegerExpressions.cs.
◆ Right
|
get |
Definition at line 983 of file IntegerExpressions.cs.
◆ Ub
|
get |
Definition at line 997 of file IntegerExpressions.cs.
The documentation for this class was generated from the following file: