Skip to main content
FRAMES NO FRAMES

Class IloCollectionHelper

Definition file: ilconcert/ilocollection.h
Map of IloCollectionHelperIloCollectionHelperIloAdvCollectionHelperIloCollectionHelper
A means to convert IloDiscreteDataCollection.

Provides some conversion function for IloDiscreteDataCollection.

Method Summary
public static IloAnySetasAnySet(IloDiscreteDataCollection)
public static IloIntRangeasIntRange(IloDiscreteDataCollection)
public static IloIntSetasIntSet(IloDiscreteDataCollection)
public static IloNumRangeasNumRange(IloDiscreteDataCollection)
public static IloNumSetasNumSet(IloDiscreteDataCollection)
Method Detail

asAnySet

public static IloAnySet asAnySet(IloDiscreteDataCollection)

This member function returns the domain as an IloAnySet. If the domain is not an AnySet, it will throw an exception.

Returns:

The domain as an IloAnySet.

asIntRange

public static IloIntRange asIntRange(IloDiscreteDataCollection)

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

Returns:

A range of integer values for the domain.

asIntSet

public static IloIntSet asIntSet(IloDiscreteDataCollection)

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

Returns:

The domain as a set of integer values.

asNumRange

public static IloNumRange asNumRange(IloDiscreteDataCollection)

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

Returns:

The domain as a range of numeric values.

asNumSet

public static IloNumSet asNumSet(IloDiscreteDataCollection)

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

Returns:

The domain as a set of numeric values.