| Modifier and Type | Method and Description |
|---|---|
IloStateFunctionExpr |
get(double index)
This method returns the element
index from the map. |
IloStateFunctionExpr |
get(IloTuple index)
This method returns the element
index from the map. |
IloStateFunctionExpr |
get(int index)
This method returns the element
index from the map. |
IloStateFunctionExpr |
get(java.lang.String index)
This method returns the element
index from the map. |
IloStateFunctionExpr |
getAt(IloMapIndexArray indices)
This method returns the value of the element.
|
IloStateFunctionExprMap |
getSub(double index)
This method returns the submap
index from the map. |
IloStateFunctionExprMap |
getSub(IloTuple index)
This method returns the submap
index from the map. |
IloStateFunctionExprMap |
getSub(int index)
This method returns the submap
index from the map. |
IloStateFunctionExprMap |
getSub(java.lang.String index)
This method returns the submap
index from the map. |
void |
set(double index,
IloStateFunctionExpr v)
This method sets the element
index in the current map to v. |
void |
set(IloTuple index,
IloStateFunctionExpr v)
This method sets the element
index in the current map to v. |
void |
set(int index,
IloStateFunctionExpr v)
This method sets the element
index in the current map to v. |
void |
set(java.lang.String index,
IloStateFunctionExpr v)
This method sets the element
index in the current map to v. |
void |
setAt(IloMapIndexArray indices,
IloStateFunctionExpr v)
This method sets the value of the element to
v. |
getName, getNbDim, getNonEmptySlotSize, getSize, getTotalSize, makeMapIndexer, setNameIloStateFunctionExprMap getSub(double index) throws IloException
index from the map.
The invoking map should have more than one dimension.IloExceptionIloStateFunctionExprMap getSub(int index) throws IloException
index from the map.
The invoking map should have more than one dimension.IloExceptionIloStateFunctionExprMap getSub(IloTuple index) throws IloException
index from the map.
The invoking map should have more than one dimension.IloExceptionIloStateFunctionExprMap getSub(java.lang.String index) throws IloException
index from the map.
The invoking map should have more than one dimension.IloExceptionIloStateFunctionExpr get(int index) throws IloException
index from the map.
The invoking map should be of one dimension only.IloExceptionIloStateFunctionExpr get(double index) throws IloException
index from the map.
The invoking map should be of one dimension only.IloExceptionIloStateFunctionExpr get(java.lang.String index) throws IloException
index from the map.
The invoking map should be of one dimension only.IloExceptionIloStateFunctionExpr get(IloTuple index) throws IloException
index from the map.
The invoking map should be of one dimension only.IloExceptionvoid set(int index,
IloStateFunctionExpr v)
throws IloException
index in the current map to v.
The invoking map should be of only one dimension.IloExceptionvoid set(double index,
IloStateFunctionExpr v)
throws IloException
index in the current map to v.
The invoking map should be of only one dimension.IloExceptionvoid set(java.lang.String index,
IloStateFunctionExpr v)
throws IloException
index in the current map to v.
The invoking map should be of only one dimension.IloExceptionvoid set(IloTuple index, IloStateFunctionExpr v) throws IloException
index in the current map to v.
The invoking map should be of only one dimension.IloExceptionvoid setAt(IloMapIndexArray indices, IloStateFunctionExpr v) throws IloException
v.
The values in indices must be the accessors you would use with
getSub and getAt methods.IloExceptionIloStateFunctionExpr 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