Skip to main content
FRAMES NO FRAMES

Class IlcDemon

Definition file: ilcp/cpext.h
Include file: <ilcp/cpext.h>
Map of IlcDemonIlcDemonIlcDemon
A handle class used for propagating constraints.

Instances of IlcDemon are handles to demons. Demons differ from goals in these ways:

For more information, see the concepts Propagation in CP Optimizer and Propagation events in CP Optimizer.

See Also:

Method Summary
public IlcConstraintgetConstraint() const
public IlcDemonI *getImpl() const
public IlcDemon(IlcDemonI * impl=0)
Method Detail

IlcDemon

public IlcDemon(IlcDemonI * impl=0)

This constructor creates a handle object from a pointer to an implementation object. If the implementation object is zero, you must initialize the handle before using it.


getConstraint

public IlcConstraint getConstraint() const

Returns the constraint associated with the demon.


getImpl

public IlcDemonI * getImpl() const

This member function returns a pointer to the implementation object of the invoking handle.