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. |
Nary disequality propagator.
Requires
#include <gecode/int/rel.hh>
Gecode::Int::Rel::NaryNq< View >::NaryNq | ( | Home | home, |
ViewArray< View > & | x | ||
) | [inline, protected] |
Gecode::Int::Rel::NaryNq< View >::NaryNq | ( | Space & | home, |
bool | share, | ||
NaryNq< View > & | p | ||
) | [inline, protected] |
Actor * Gecode::Int::Rel::NaryNq< View >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
PropCost Gecode::Int::Rel::NaryNq< View >::cost | ( | const Space & | home, |
const ModEventDelta & | med | ||
) | const [virtual] |
Cost function.
Reimplemented from Gecode::NaryPropagator< View, PC_INT_VAL >.
ExecStatus Gecode::Int::Rel::NaryNq< View >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Int::Rel::NaryNq< View >::post | ( | Home | home, |
ViewArray< View > & | x | ||
) | [inline, static] |
size_t Gecode::Int::Rel::NaryNq< View >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::NaryPropagator< View, PC_INT_VAL >.