Nary disequality propagator. More...
#include <rel.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< View > &x) |
Post propagator ![]() | |
Protected Member Functions | |
NaryNq (Home home, ViewArray< View > &x) | |
Constructor for posting. | |
NaryNq (Space &home, bool share, NaryNq< View > &p) | |
Constructor for cloning p. |
PropCost Gecode::Int::Rel::NaryNq::cost | ( | const Space & | home, |
const ModEventDelta & | med | ||
) | const [virtual] |
Cost function.
Reimplemented from Gecode::NaryPropagator< View, PC_INT_VAL >.
ExecStatus Gecode::Int::Rel::NaryNq::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Int::Rel::NaryNq::post | ( | Home | home, |
ViewArray< View > & | x | ||
) | [inline, static] |
size_t Gecode::Int::Rel::NaryNq::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::NaryPropagator< View, PC_INT_VAL >.