Skip to main content
FRAMES NO FRAMES

Class IloGoalI

Definition file: ilcp/cp.h
Include file: <ilcp/cp.h>
Map of IloGoalIIloGoalIIloGoalI
An implementation class that represents a goal in a model.

The class IloGoal represents goals in an IBM® ILOG® Concert Technology model. The class IlcGoal represents goals internally in a CP Optimizer search engine. A goal is a building block in a CP Optimizer search engine.

See Also:

Method Summary
public virtual voiddisplay(ostream &) const
public virtual IlcGoalextract(const IloCPEngine cp) const
public IloGoalI(IloEnvI *)
public ~IloGoalI()
Method Detail

IloGoalI

public IloGoalI(IloEnvI *)

This constructor creates an instance of the class IloGoalI. This constructor should not be called directly as this class is an abstract class. This constructor is called automatically in the constructor of its sub-classes.


~IloGoalI

public ~IloGoalI()

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


display

public virtual void display(ostream &) const

This member function prints the invoking goal on an output stream.


extract

public virtual IlcGoal extract(const IloCPEngine cp) const

In general terms, in Concert Technology, the objects of a model must be extracted for an algorithm (an instance of one of the sub-classes of IloAlgorithm, such as IloCP). This member function returns the internal goal extracted for cp from the invoking goal of a model.