Naive value distinct propagator. More...
#include <distinct.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< View > &x) |
Post propagator for view array x. | |
Protected Member Functions | |
Val (Home home, ViewArray< View > &x) | |
Constructor for posting. | |
Val (Space &home, bool share, Val< View > &p) | |
Constructor for cloning p. |
Naive value distinct propagator.
Eliminates values of assigned views of type View.
Requires
#include <gecode/int/distinct.hh>
ExecStatus Gecode::Int::Distinct::Val::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Int::Distinct::Val::post | ( | Home | home, |
ViewArray< View > & | x | ||
) | [static] |