Skip to main content
FRAMES NO FRAMES

Class IloIntVarMap

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

This is the class for mapping integer variables elements. This list is indexed by sets of integers, floats, strings or tuples.

Method Summary
public IloIntVarArrayasNewIntVarArray() const
public const IloIntVarget(IloTuple index) const
public const IloIntVarget(IloSymbol index) const
public const IloIntVarget(const char * index) const
public const IloIntVarget(IloNum index) const
public const IloIntVarget(IloInt index) const
public IloIntVargetAt(IloMapIndexArray indices) const
public IloIntVarMapgetSub(const char * index) const
public IloIntVarMapgetSub(IloTuple index) const
public IloIntVarMapgetSub(IloInt index) const
public IloIntVarMapgetSub(IloNum index) const
public IloIntVarMapoperator[](IloTuple index) const
public IloIntVarMapoperator[](IloSymbol index) const
public IloIntVarMapoperator[](const char * index) const
public IloIntVarMapoperator[](IloNum index) const
public IloIntVarMapoperator[](IloInt index) const
public voidset(IloSymbol index, IloIntVar value)
public voidset(IloTuple index, IloIntVar value)
public voidset(IloNum index, IloIntVar value)
public voidset(IloInt index, IloIntVar value)
public voidset(const char * index, IloIntVar value)
Method Detail

asNewIntVarArray

public IloIntVarArray asNewIntVarArray() const

Returns the current object as new basic array


get

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

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


operator[]

public IloIntVarMap operator[](IloSymbol index) const

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


operator[]

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

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


operator[]

public IloIntVarMap operator[](IloNum index) const

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


operator[]

public IloIntVarMap 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, IloIntVar value)

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


set

public void set(IloTuple index, IloIntVar value)

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


set

public void set(IloNum index, IloIntVar value)

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


set

public void set(IloInt index, IloIntVar value)

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


set

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

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