Java Reference
Java Reference
IntervalVar
Detailed Description
An interval variable.
This class must be constructed from the CpModel class.
Definition at line 21 of file java/com/google/ortools/sat/IntervalVar.java.
Public Member Functions | |
| String | toString () |
| int | getIndex () |
| Returns the index of the interval constraint in the model. More... | |
| IntervalConstraintProto.Builder | getBuilder () |
| Returns the interval builder. More... | |
| String | getName () |
| Returns the name passed in the constructor. More... | |
Member Function Documentation
◆ getBuilder()
|
inline |
Returns the interval builder.
Definition at line 58 of file java/com/google/ortools/sat/IntervalVar.java.
◆ getIndex()
|
inline |
Returns the index of the interval constraint in the model.
Definition at line 53 of file java/com/google/ortools/sat/IntervalVar.java.
◆ getName()
|
inline |
Returns the name passed in the constructor.
Definition at line 63 of file java/com/google/ortools/sat/IntervalVar.java.
◆ toString()
|
inline |
Definition at line 48 of file java/com/google/ortools/sat/IntervalVar.java.
The documentation for this class was generated from the following file: