FRAMES NO FRAMES

Class IloAnySetValueSelectorI

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

This class is the implementation class for IloAnySetValueSelector.

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

To define new selection criteria, you define both a subclass of IloAnySetValueSelectorI and a subclass of IlcAnySetSelectI.

See Also:

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

IloAnySetValueSelectorI

public IloAnySetValueSelectorI(IloEnvI *)

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


~IloAnySetValueSelectorI

public ~IloAnySetValueSelectorI()

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 IlcAnySetSelect 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 IloAnySetValueSelectorI * makeClone(IloEnvI * env) const

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