Skip to main content
FRAMES NO FRAMES

Class IloIntMap

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

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

Method Summary
public IloIntget(IloTuple index) const
public IloIntget(IloSymbol index) const
public IloIntget(const char * index) const
public IloIntget(IloNum index) const
public IloIntget(IloInt index) const
public IloIntMapgetSub(const char * index) const
public IloIntMapgetSub(IloTuple index) const
public IloIntMapgetSub(IloInt index) const
public IloIntMapgetSub(IloNum index) const
public IloIntMapoperator[](IloTuple index) const
public IloIntMapoperator[](IloSymbol index) const
public IloIntMapoperator[](const char * index) const
public IloIntMapoperator[](IloNum index) const
public IloIntMapoperator[](IloInt index) const
public voidset(IloSymbol index, IloInt value)
public voidset(IloTuple index, IloInt value)
public voidset(IloNum index, IloInt value)
public voidset(IloInt index, IloInt value)
public voidset(const char * index, IloInt value)
Method Detail

get

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

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


operator[]

public IloIntMap operator[](IloSymbol index) const

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


operator[]

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

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


operator[]

public IloIntMap operator[](IloNum index) const

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


operator[]

public IloIntMap 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, IloInt 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, IloInt value)

Sets the element index in the current IloIntMap 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, IloInt value)

Sets the element index in the current IloIntMap 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, IloInt value)

Sets the element index in the current IloIntMap 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, IloInt value)

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

Parameters:

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