| Overview | Group | Tree | Graph | Deprecated | Index | Concepts |

IlcIntervalVar.
The class IlcIntervalVarArray is
the class for an array of instances of
IlcIntervalVar. Instances of this class
are arrays indexed from 0.
See Also:
| Method Summary | |
|---|---|
public IlcIntervalVarArray | getCopy() const |
public IlcCPEngine | getCPEngine() const |
public IloInt | getSize() const |
public | IlcIntervalVarArray(const IlcCPEngine cp, const IloInt size) |
public IlcIntervalVar & | operator[](IlcInt index) const |
| Method Detail |
|---|
This constructor creates an array of length size
initialized to empty handles. The argument
size must be greater than 0 (zero). The index
range of the array is [0 size). Each element
of the array should be assigned before using the array.
This member function returns a copy of the invoking array of constrained interval variables.
This member function returns the instance of
IlcCPEngine associated with the invoking
array.
This member function returns the number of constrained interval variables in the invoking array.
This subscripting operator returns a reference to a
constrained interval variable corresponding to the given
index in the invoking array of constrained
integer variables.
The assignment of an interval to an index position of the invoking array is not reversible.