FRAMES NO FRAMES

Class IloSearchSelectorI

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

The class IloSearchSelector represents search selectors in a Concert Technology model. The class IlcSearchSelector represents search selectors internally in a Solver search.

Search selectors are useful to implement minimizations and filters in a Solver search.

A search selector is an object in Solver. Like other Solver entities, a search selector is implemented by means of two classes: a handle class and an implementation class. In other words, an instance of the class IloSearchSelector (a handle) contains a data member (the handle pointer) that points to an instance of the class IloSearchSelectorI (its implementation object).

See Also:

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

IloSearchSelectorI

public IloSearchSelectorI(IloEnvI *)

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


~IloSearchSelectorI

public ~IloSearchSelectorI()

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 search selector on an output stream.


extract

public virtual IlcSearchSelector 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 search selector extracted for solver from the invoking search selector of a model.


makeClone

public virtual IloSearchSelectorI * makeClone(IloEnvI * env) const

This member function is called internally to duplicate the invoking search selector.