Binary 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 (defined as low unary) | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, View x0, View x1) |
Post propagator ![]() | |
Protected Member Functions | |
Nq (Space &home, bool share, Nq< View > &p) | |
Constructor for cloning p. | |
Nq (Home home, View x0, View x1) | |
Constructor for posting. |
Binary disequality propagator.
Requires
#include <gecode/int/rel.hh>
Gecode::Int::Rel::Nq< View >::Nq | ( | Space & | home, |
bool | share, | ||
Nq< View > & | p | ||
) | [inline, protected] |
Gecode::Int::Rel::Nq< View >::Nq | ( | Home | home, |
View | x0, | ||
View | x1 | ||
) | [inline, protected] |
Actor * Gecode::Int::Rel::Nq< View >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
PropCost Gecode::Int::Rel::Nq< View >::cost | ( | const Space & | home, |
const ModEventDelta & | med | ||
) | const [virtual] |
Cost function (defined as low unary)
Reimplemented from Gecode::BinaryPropagator< View, PC_INT_VAL >.
ExecStatus Gecode::Int::Rel::Nq< View >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Int::Rel::Nq< View >::post | ( | Home | home, |
View | x0, | ||
View | x1 | ||
) | [static] |