The ISymbolSetMap type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
Get(Double) |
Returns the submap index from the map. The invoking map should have
more than one dimension. The index is of a numerical type. GetSub(Int)
|
|
|
Get(Int32) |
Returns the submap index from the map. The invoking map should have
more than one dimension. The index is of an integer type. Example with a Map of int:
M[i in 1..5][j in 1..2] = iM.getSub( 1 ) returns [1,1]
|
|
|
Get(String) |
Returns the submap index from the map. The invoking map should have more
than one dimension. The index is of a string type. GetSub(Int)
|
|
|
Get(ITuple) | |
|
|
GetAt |
Returns the value of the element. Example with a Map of int:
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) .
|
|
|
GetSub(Double) |
Returns the submap index from the map.
|
|
|
GetSub(Int32) |
Returns the submap index from the map.
|
|
|
GetSub(String) |
Returns the submap index from the map. The invoking map should have more than
one dimension. The index is of a string type. GetSub(Int)
|
|
|
GetSub(ITuple) | |
|
|
MakeMapIndexer |
Retrieves the indices of an array. (Inherited from IMap.) |
|
|
Set(Double, ISymbolSet) |
Sets the element idx from the map to value. The invoking map should
be of only one dimension. See set(IloInt).
|
|
|
Set(Int32, ISymbolSet) |
Sets the element idx from the map to value. The invoking map
should be of only one dimension. Example with a Map of int:
M[i in 1..5][j in 1..2] = j M.getSub(1).set(2, 4)
will set M[1][2] to 4 instead of 2.
|
|
|
Set(String, ISymbolSet) |
.. Sets the element idx from the map to value. The invoking map should be of
only one dimension. See set(IloInt).
|
|
|
Set(ITuple, ISymbolSet) |
Sets the element index from the map to value. The invoking map
should be of only one dimension. Set(Int,Elt)
|
|
|
SetAt |
Sets the value of the element. The values in indices must be
the accessors you would use with getSub and getAt methods Example
with a Map of int: M[i in 1..5][j in 1..2] = j M.setAt( [1][2], 4)
will set M[1][2] to 4 instead of 2. It is the same as using
M.getSub(1).set(2, 4) .
|