Skip to main content
FRAMES NO FRAMES

Class IloAdvCollectionHelper

Definition file: ilopl/ilocollectionoperator.h
Map of IloAdvCollectionHelperIloAdvCollectionHelperIloAdvCollectionHelperIloCollectionHelper
A means to convert IloDiscreteDataCollection.

Provides some conversion function for IloDiscreteDataCollection.

Method Summary
public static IloSymbolSetasSymbolSet(IloDiscreteDataCollection)
public static IloTupleSetasTupleSet(IloDiscreteDataCollection)
Inherited Methods from IloCollectionHelper
asAnySet, asIntRange, asIntSet, asNumRange, asNumSet
Method Detail

asSymbolSet

public static IloSymbolSet asSymbolSet(IloDiscreteDataCollection)

This member function returns the domain as a set of string values. If it is not a set of numeric values, it will throw an exception.

Returns:

The domain as a set of string values.

asTupleSet

public static IloTupleSet asTupleSet(IloDiscreteDataCollection)

This member function returns the domain as a set of IloTuple. If the collection is not a set of tuples, it will throw an exception.

Returns:

The domain as an IloTuple.