Skip to main content
FRAMES NO FRAMES

Class IloTupleSetMap

Definition file: ilopl/ilomap.h
Map of IloTupleSetMapIloTupleSetMapIloTupleSetMapIloAnyCollectionMap
This is the class for mapping a list of set of tuples values.

This is the class for mapping set of tuple elements such as IloTupleSet. This list is indexed by sets of integers, floats, strings or tuples.

Method Summary
public const IloTupleSetget(IloTuple index) const
public const IloTupleSetget(IloSymbol index) const
public const IloTupleSetget(const char * index) const
public const IloTupleSetget(IloNum index) const
public const IloTupleSetget(IloInt index) const
public IloTupleSetgetAt(IloMapIndexArray indices) const
public IloTupleSchemagetSchema() const
public IloTupleSetMapgetSub(const char * index) const
public IloTupleSetMapgetSub(IloTuple index) const
public IloTupleSetMapgetSub(IloInt index) const
public IloTupleSetMapgetSub(IloNum index) const
public IloTupleSetMapoperator[](IloTuple index) const
public IloTupleSetMapoperator[](IloSymbol index) const
public IloTupleSetMapoperator[](const char * index) const
public IloTupleSetMapoperator[](IloNum index) const
public IloTupleSetMapoperator[](IloInt index) const
public voidset(IloSymbol index, IloTupleSet value)
public voidset(IloTuple index, IloTupleSet value)
public voidset(IloNum index, IloTupleSet value)
public voidset(IloInt index, IloTupleSet value)
public voidset(const char * index, IloTupleSet value)
Inherited Methods from IloAnyCollectionMap
endElements, get, get, get, get, get, getAt, getSub, getSub, getSub, getSub, operator[], operator[], operator[], operator[], operator[]
Method Detail

get

public const IloTupleSet get(IloTuple index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

get

public const IloTupleSet get(IloSymbol index) const

This member function returns the element idx from the map. The invoking map should be of one dimension only. See get(IloInt).


get

public const IloTupleSet get(const char * index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

get

public const IloTupleSet get(IloNum index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

get

public const IloTupleSet get(IloInt index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

getAt

public IloTupleSet getAt(IloMapIndexArray indices) const

This member function returns the element corresponding to indices from the map. The invoking map should have as many dimensions as the size of indices.

Parameters:

indices
The requested element.

getSchema

public IloTupleSchema getSchema() const

Returns the schema of the tuple sets that are in the map.

Returns:

An instance of IloTupleSchema.

getSub

public IloTupleSetMap getSub(const char * index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.


getSub

public IloTupleSetMap getSub(IloTuple index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.

see IloMap#getSub(IloInt)

getSub

public IloTupleSetMap getSub(IloInt index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.


getSub

public IloTupleSetMap getSub(IloNum index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloTupleSetMap operator[](IloTuple index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloTupleSetMap operator[](IloSymbol index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloTupleSetMap operator[](const char * index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloTupleSetMap operator[](IloNum index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloTupleSetMap operator[](IloInt index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.


set

public void set(IloSymbol index, IloTupleSet value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.

Parameters:

index
The symbol element to set.
value
The value of the element.

set

public void set(IloTuple index, IloTupleSet value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.

Parameters:

index
The tuple element to set.
value
The value of the element.

set

public void set(IloNum index, IloTupleSet value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.

Parameters:

index
The float element to set.
value
The value of the element.

set

public void set(IloInt index, IloTupleSet value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.

Parameters:

index
The integer element to set.
value
The value of the element.

set

public void set(const char * index, IloTupleSet value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.

Parameters:

index
The string element to set.
value
The value of the element.