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

This class represents a convenient way to map tuple values.
| Method Summary | |
|---|---|
public void | end() |
public void | endElements() |
public void | getAt(IloMapIndexArray indices, IloTupleBuffer buffer) const |
public void | getAt(IloMapIndexArray indices, IloTuple tuple) const |
public IloEnv | getEnv() const |
public IloInt | getNbDim() const |
public IloInt | getNonEmptySlotSize() const |
public IloTupleSchema | getSchema() const |
public IloInt | getSize() const |
public IloInt | getTotalSize() const |
public IloMapIndexer | makeMapIndexer() const |
public IloTuple | makeTuple() const |
public IloTupleBuffer | makeTupleBuffer() const |
public void | setAt(IloMapIndexArray indices, IloTupleBuffer value) |
public void | setAt(IloMapIndexArray indices, IloTuple value) |
| Method Detail |
|---|
This method ends the invoking map.
This method ends the invoking map along with all of its elements.
Returns the value of the element. pointed to by
indices from the map. It fills the given tuple
Example with a Map: M[i in 1..5][j in 1..2] = <j> M.getAt( [1][2], t ) will fill t with M[1][2] that is <2>.
| indices |
The path to access the element.
|
Returns the value of the element. pointed to by
indices from the map. It fills the given tuple
Example with a Map: M[i in 1..5][j in 1..2] = <j> M.getAt( [1][2], t ) will fill t with M[1][2] that is <2>.
| indices |
The path to access the element.
|
This member function returns the environment in which the invoking array was created. The elements of the invoking array belong to the same environment.
Returns the dimension of the map i.e the number of indexers.
Example with a Map: M[1..5][1..2]M.getNbDim( ) returns 2.
.
Returns the schema of the tuples that are in the map.
This member function returns an integer specifying the size of the invoking array. An empty array has size 0 (zero).
Example with a Map: M[1..5][1..2]M.getSize( ) returns 5.
M.getSub( 1 ).getSize( ) returns 2.
Returns the total number of values that are in this array.
Example with a Map: M[1..5][1..2]M.getTotalSize( ) returns 10.
M.getSub(1).getTotalSize( ) returns 2.
Retrieves the indices of an array of tuples.
Creates an empty tuple suitable to be filled by getAt.
Creates an empty tuple buffer suitable to be filled by getAt.
This member function sets the element pointed to by indices
from the map to value.
Example with a Map: M[i in 1..5][j in 1..2] = <j> M.setAt( [1][2], <t> ) will fill M[1][2] with t.
| indices |
The map element to be set.
|
| value |
The new value of the map element.
|
This member function sets the element pointed to by indices
from the map to value.
Example with a Map: M[i in 1..5][j in 1..2] = <j> M.setAt( [1][2], t ) will fill M[1][2] with the values from t.
| indices |
The map element to be set.
|
| value |
The new value of the map element.
|