Overview | Group | Tree | Graph | Index | Concepts |
Instances of IlcDemon
are handles to demons. Demons
differ from goals in these ways:
IlcDemon::getConstraint
returns the constraint
associated with a demon.For more information, see the concepts Propagation and Propagation Events.
See Also:
ILCCTDEMON0, IlcDemonI, IlcTraceI
Constructor Summary | |
---|---|
public | IlcDemon() |
public | IlcDemon(IlcDemonI * impl) |
public | IlcDemon(const IlcDemon & demon) |
Method Summary | |
---|---|
public IlcConstraint | getConstraint() const |
public IlcDemonI * | getImpl() const |
public IloSolver | getSolver() const |
public void | operator=(const IlcDemon & h) |
Constructor Detail |
---|
This constructor creates an empty handle. You must initialize it before you use it.
This constructor creates a handle object from a pointer to an implementation object.
This constructor creates a handle demon from the reference indicated by demon
.
Method Detail |
---|
This member function returns a handle of the constraint associated with the invoking demon. If there is no such constraint, this member function returns 0 (zero). The invoking demon is known as the parent of the constraint.
This member function returns a pointer to the implementation object of the invoking handle.
This member function returns an instance of IloSolver
associated with the invoking object.
This operator assigns an address to the handle pointer of the invoking object. That address is the location of the implementation object of the provided argument.