Gecode::Int::Rel::EqDom< View0, View1 > Class Template Reference
[Integer propagators]
#include <rel.hh>
Inherits Gecode::InhomBinaryPropagator< View0, PC_INT_DOM, View1, PC_INT_DOM >.
Detailed Description
template<class View0, class View1>
class Gecode::Int::Rel::EqDom< View0, View1 >
Binary domain-consistent equality propagator.
Uses staging by first performing bounds propagation and only then domain propagation.
Requires
#include "gecode/int/rel.hh"
Definition at line 57 of file rel.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Copy propagator during cloning. | |
virtual PropCost | cost (void) const |
Cost function. | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, View0 x0, View1 x1) |
Post domain-consistent propagator . | |
Protected Member Functions | |
EqDom (Space *home, bool share, EqDom< View0, View1 > &p) | |
Constructor for cloning p. | |
EqDom (Space *home, View0 x0, View1 x1) | |
Constructor for posting. |
Constructor & Destructor Documentation
|
Constructor for cloning p.
|
|
Constructor for posting.
|
Member Function Documentation
|
Copy propagator during cloning.
Implements Gecode::Actor. |
|
Cost function. If a view has been assigned, the cost is PC_UNARY_LO. If in stage for bounds propagation, the cost is PC_BINARY_LO. Otherwise it is PC_BINARY_HI. Reimplemented from Gecode::InhomBinaryPropagator< View0, PC_INT_DOM, View1, PC_INT_DOM >. |
|
Perform propagation.
Implements Gecode::Propagator. |
|
Post domain-consistent propagator .
|
The documentation for this class was generated from the following files:
- gecode/int/rel.hh (Revision: 3579)
- gecode/int/rel/eq.icc (Revision: 3512)