| Modifier and Type | Method and Description |
|---|---|
IloIntervalVar |
get(double index)
This method returns the element
index from the map. |
IloIntervalVar |
get(IloTuple index)
This method returns the element
index from the map. |
IloIntervalVar |
get(int index)
This method returns the element
index from the map. |
IloIntervalVar |
get(java.lang.String index)
This method returns the element
index from the map. |
IloIntervalVar |
getAt(IloMapIndexArray indices)
This method returns the value of the element.
|
IloIntervalVarMap |
getSub(double index)
This method returns the submap
index from the map. |
IloIntervalVarMap |
getSub(IloTuple index)
This method returns the submap
index from the map. |
IloIntervalVarMap |
getSub(int index)
This method returns the submap
index from the map. |
IloIntervalVarMap |
getSub(java.lang.String index)
This method returns the submap
index from the map. |
void |
set(double index,
IloIntervalVar v)
This method sets the element
index from the map to v. |
void |
set(IloTuple index,
IloIntervalVar v)
This method sets the element
index from the map to v. |
void |
set(int index,
IloIntervalVar v)
This method sets the element
index from the map to v. |
void |
set(java.lang.String index,
IloIntervalVar v)
This method sets the element
index from the map to v. |
void |
setAt(IloMapIndexArray indices,
IloIntervalVar v)
This method sets the value of the element to
v. |
getName, getNbDim, getNonEmptySlotSize, getSize, getTotalSize, makeMapIndexer, setNameIloIntervalVarMap getSub(double index) throws IloException
index from the map.
The invoking map should have more than one dimension.
The index is of a numerical type.IloExceptionIloIntervalVarMap getSub(int index) throws IloException
index from the map.
The invoking map should have more than one dimension.
The index is of an integer type.IloExceptionIloIntervalVarMap getSub(IloTuple index) throws IloException
index from the map.
The invoking map should have more than one dimension.IloExceptionIloIntervalVarMap getSub(java.lang.String index) throws IloException
index from the map.
The invoking map should have more than one dimension.
The index is of a string type.IloExceptionIloIntervalVar get(int index) throws IloException
index from the map.
The invoking map should be of one dimension only.IloExceptionIloIntervalVar get(double index) throws IloException
index from the map.
The invoking map should be of one dimension only.IloExceptionIloIntervalVar get(java.lang.String index) throws IloException
index from the map.
The invoking map should be of one dimension only.IloExceptionIloIntervalVar get(IloTuple index) throws IloException
index from the map.
The invoking map should be of one dimension only.IloExceptionvoid set(int index,
IloIntervalVar v)
throws IloException
index from the map to v.
The invoking map should be of one dimension only.IloExceptionvoid set(double index,
IloIntervalVar v)
throws IloException
index from the map to v.
The invoking map should be of one dimension only.IloExceptionvoid set(java.lang.String index,
IloIntervalVar v)
throws IloException
index from the map to v.
The invoking map should be of one dimension only.IloExceptionvoid set(IloTuple index, IloIntervalVar v) throws IloException
index from the map to v.
The invoking map should be of one dimension only.IloExceptionvoid setAt(IloMapIndexArray indices, IloIntervalVar v) throws IloException
v.
The values in indices must be the accessors you would use with
getSub and getAt methods.IloExceptionIloIntervalVar getAt(IloMapIndexArray indices) throws IloException
M[i in 1..5][j in 1..2] = j M.getAt( [1][2] )
will return
M[1][2] that is 2.
It is the same as using M.getSub(1).get(2)IloException