Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
An interval variable. More...
Public Member Functions | |
IntervalVar (CpModelProto model, LinearExpressionProto start, LinearExpressionProto size, LinearExpressionProto end, int is_present_index, string name) | |
IntervalVar (CpModelProto model, LinearExpressionProto start, LinearExpressionProto size, LinearExpressionProto end, string name) | |
int | GetIndex () |
The Index of the interval in the model proto. | |
LinearExpr | StartExpr () |
The start expression of the interval. | |
LinearExpr | SizeExpr () |
The size expression of the interval. | |
LinearExpr | EndExpr () |
The end expression of the interval. | |
override string | ToString () |
string | Name () |
Properties | |
IntervalConstraintProto | Proto [get, set] |
The underlying interval proto. | |
An interval variable.
This class must be constructed from the CpModel class.
Definition at line 23 of file IntervalVariables.cs.
|
inline |
Definition at line 25 of file IntervalVariables.cs.
|
inline |
Definition at line 43 of file IntervalVariables.cs.
|
inline |
The end expression of the interval.
Definition at line 78 of file IntervalVariables.cs.
|
inline |
The Index of the interval in the model proto.
Definition at line 60 of file IntervalVariables.cs.
|
inline |
Definition at line 99 of file IntervalVariables.cs.
|
inline |
The size expression of the interval.
Definition at line 72 of file IntervalVariables.cs.
|
inline |
The start expression of the interval.
Definition at line 66 of file IntervalVariables.cs.
|
inline |
Definition at line 94 of file IntervalVariables.cs.
|
getset |
The underlying interval proto.
Definition at line 84 of file IntervalVariables.cs.