The IIntVarMap type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
Get(Double) |
This member function returns the element index from the map.
The invoking map should be of one dimension only. See Get(Int).
|
|
|
Get(Int32) |
This member function returns the element index from the map.
The invoking map should be of one dimension only. Example with a Map of int:
M[i in 1..5][j in 1..2] = j M.GetSub(1).get(2) will return 2
|
|
|
Get(String) |
This member function returns the element index from the map.
The invoking map should be of one dimension only. See Get(Int).
|
|
|
Get(ITuple) |
This member function returns the element index from the map.
The invoking map should be of one dimension only. See Get(Int).
|
|
|
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) |
This member function returns the submap index from the map.
The invoking map should have more than one dimension.
|
|
|
GetSub(ITuple) |
This member function returns the submap index from the map. The
invoking map should have more than one dimension.IMap.GetSub(Int)
|
|
|
MakeMapIndexer |
Retrieves the indices of an array. (Inherited from IMap.) |
|
|
Set(Double, IIntVar) |
Sets the element index from the map to value. The invoking
map should be of only one dimension. See Set(Int).
|
|
|
Set(Int32, IIntVar) |
Sets the element index 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, IIntVar) |
Sets the element index from the map to value. The invoking
map should be of only one dimension. See Set(Int).
|
|
|
Set(ITuple, IIntVar) |
Sets the element index from the map to value. The invoking map
should be of only one dimension. Set(Int,Elt)
|
|
|
SetAt |
Sets the element index from the map to value. The invoking
map should be of only one dimension. See Set(Int).
|