FRAMES NO FRAMES

Class IloIntSetValueSelectorI

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

This class is the implementation class for IloIntSetValueSelector.

The class IloIntSetValueSelectorI is the implementation class for value selectors in an IBM® ILOG® Concert Technology model. The class IlcIntSetSelectI 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, IloIntSetValueSelectorI is extracted into an instance of IlcIntSetSelectI.

To define new selection criteria, you define both a subclass of IloIntSetValueSelectorI and a subclass of IlcIntSetSelectI.

See Also:

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

IloIntSetValueSelectorI

public IloIntSetValueSelectorI(IloEnvI *)

This constructor creates an instance of the class IloIntSetValueSelectorI. 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.


~IloIntSetValueSelectorI

public ~IloIntSetValueSelectorI()

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 IlcIntSetSelect 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 IloIntSetValueSelectorI * makeClone(IloEnvI * env) const

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