Skip to main content
FRAMES NO FRAMES

Class IloNumMap

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

The class IloNumMap maps a list of float elements. This list is indexed by sets of integers, floats, strings or tuples.

Method Summary
public IloNumget(IloTuple index) const
public IloNumget(IloSymbol index) const
public IloNumget(const char * index) const
public IloNumget(IloNum index) const
public IloNumget(IloInt index) const
public IloNumMapgetSub(const char * index) const
public IloNumMapgetSub(IloTuple index) const
public IloNumMapgetSub(IloInt index) const
public IloNumMapgetSub(IloNum index) const
public IloNumMapoperator[](IloTuple index) const
public IloNumMapoperator[](IloSymbol index) const
public IloNumMapoperator[](const char * index) const
public IloNumMapoperator[](IloNum index) const
public IloNumMapoperator[](IloInt index) const
public voidset(IloSymbol index, IloNum value)
public voidset(IloTuple index, IloNum value)
public voidset(IloNum index, IloNum value)
public voidset(IloInt index, IloNum value)
public voidset(const char * index, IloNum value)
Method Detail

get

public IloNum 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 element to be returned

get

public IloNum 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 IloNum 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 element to be returned

get

public IloNum 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 element to be returned

get

public IloNum 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 element to be returned

getSub

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

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


operator[]

public IloNumMap operator[](IloSymbol index) const

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


operator[]

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

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


operator[]

public IloNumMap operator[](IloNum index) const

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


operator[]

public IloNumMap 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, IloNum 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, IloNum 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, IloNum 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, IloNum 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, IloNum value)

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

Parameters:

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