Skip to main content
FRAMES NO FRAMES

Class IloNumSetMap

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

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

Method Summary
public const IloNumSetget(IloTuple index) const
public const IloNumSetget(IloSymbol index) const
public const IloNumSetget(const char * index) const
public const IloNumSetget(IloNum index) const
public const IloNumSetget(IloInt index) const
public IloNumSetgetAt(IloMapIndexArray indices) const
public IloNumSetMapgetSub(const char * index) const
public IloNumSetMapgetSub(IloTuple index) const
public IloNumSetMapgetSub(IloInt index) const
public IloNumSetMapgetSub(IloNum index) const
public IloNumSetMapoperator[](IloTuple index) const
public IloNumSetMapoperator[](IloSymbol index) const
public IloNumSetMapoperator[](const char * index) const
public IloNumSetMapoperator[](IloNum index) const
public IloNumSetMapoperator[](IloInt index) const
public voidset(IloSymbol index, IloNumSet value)
public voidset(IloTuple index, IloNumSet value)
public voidset(IloNum index, IloNumSet value)
public voidset(IloInt index, IloNumSet value)
public voidset(const char * index, IloNumSet value)
Method Detail

get

public const IloNumSet 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 IloNumSet 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 IloNumSet 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 IloNumSet 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 IloNumSet 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 IloNumSet 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.

getSub

public IloNumSetMap 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 IloNumSetMap 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 IloNumSetMap 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 IloNumSetMap 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 IloNumSetMap operator[](IloTuple index) const

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


operator[]

public IloNumSetMap operator[](IloSymbol index) const

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


operator[]

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

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


operator[]

public IloNumSetMap operator[](IloNum index) const

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


operator[]

public IloNumSetMap 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, IloNumSet 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, IloNumSet 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, IloNumSet 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, IloNumSet 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, IloNumSet 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.