FRAMES NO FRAMES

Class IlcIntToFloatExpFunctionI

Definition file: ilsolver/accessi.h
Include file: <ilsolver/ilsolver.h>

This class is the implementation class for IlcIntToFloatExpFunction, the class of the object that makes the association between an integer value and a constrained floating-point variable or expression.

The virtual member function getValue returns the constrained variable or expression associated with a given value. To define an association class, you have to derive this class, and overload the getValue virtual member function.

The following constraints and expressions use this kind of indirection: IlcSum, IlcMin, IlcMax, and IlcUnion.

See Also:

Constructor and Destructor Summary
public IlcIntToFloatExpFunctionI()
public ~IlcIntToFloatExpFunctionI()
Method Summary
public virtual IlcFloatExpgetValue(IlcInt e)
Constructor and Destructor Detail

IlcIntToFloatExpFunctionI

public IlcIntToFloatExpFunctionI()

This constructor creates an implementation object.


~IlcIntToFloatExpFunctionI

public ~IlcIntToFloatExpFunctionI()

As this class is to be subclassed, a virtual destructor is provided


Method Detail

getValue

public virtual IlcFloatExp getValue(IlcInt e)

This member function must return the constrained floating-point variable or expression associated with the integer element e.