FRAMES NO FRAMES

Class IloIntValueSelectorI

Definition file: ilsolver/ilosolverint.h
Include file: <ilsolver/ilosolver.h>

This class is the implementation class for IloIntValueSelector.

The class IloIntValueSelectorI is the implementation class for value selectors in an IBM® ILOG® Concert Technology model. The class IlcIntSelectI is the implementation class for value selectors internally in a Solver search.

This class is the modeling object that wraps the search object. When search starts, IloIntValueSelectorI is extracted into an instance of IlcIntSelectI.

To define new selection criteria, you define both a subclass of IloIntValueSelectorI and a subclass of IlcIntSelectI.

See Also:

Constructor and Destructor Summary
public IloIntValueSelectorI(IloEnvI *)
public ~IloIntValueSelectorI()
Method Summary
public virtual voiddisplay(ostream &) const
public virtual IlcIntSelectextract(const IloSolver solver) const
public IloEnvI *getEnv() const
public virtual IloIntValueSelectorI *makeClone(IloEnvI * env) const
Constructor and Destructor Detail

IloIntValueSelectorI

public IloIntValueSelectorI(IloEnvI *)

This constructor creates an instance of the class IloIntValueSelectorI. This constructor should not be called directly as this class is an abstract class. This constructor is called automatically in the constructor of its subclasses.


~IloIntValueSelectorI

public ~IloIntValueSelectorI()

This destructor is called automatically by the destructor of its subclasses. It frees memory used by the invoking object.


Method Detail

display

public virtual void display(ostream &) const

This member function prints the invoking value selector on an output stream.


extract

public virtual IlcIntSelect extract(const IloSolver solver) const

In general terms, in Concert Technology, the objects of a model must be extracted for an algorithm (an instance of one of the subclasses of IloAlgorithm, such as IloSolver). This member function returns the internal value selector extracted for solver from the invoking value selector of a model.


getEnv

public IloEnvI * getEnv() const

This member function returns the environment to which the invoking value selector belongs. A value selector belongs to exactly one environment; different environments cannot share the same value selector.


makeClone

public virtual IloIntValueSelectorI * makeClone(IloEnvI * env) const

This member function is called internally to duplicate the current value selector.