
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. | |
Public Member Functions inherited from Gecode::NaryPropagator< View, PC_INT_VAL > | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function (defined as low linear) | |
| virtual size_t | dispose (Space &home) |
| Delete propagator and return its size. | |
Public Member Functions inherited from Gecode::Propagator | |
| ModEventDelta | modeventdelta (void) const |
| Return the modification event delta. | |
| virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
| Advise function. | |
| double | afc (void) const |
| Return the accumlated failure count. | |
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. | |
Protected Member Functions inherited from Gecode::NaryPropagator< View, PC_INT_VAL > | |
| NaryPropagator (Space &home, bool share, NaryPropagator &p) | |
| Constructor for cloning p. | |
| NaryPropagator (Space &home, bool share, Propagator &p, ViewArray< View > &x) | |
| Constructor for rewriting p during cloning. | |
| NaryPropagator (Home home, ViewArray< View > &x) | |
| Constructor for creation. | |
Protected Member Functions inherited from Gecode::Propagator | |
| Propagator (Home home) | |
| Constructor for posting. | |
| Propagator (Space &home, bool share, Propagator &p) | |
| Constructor for cloning p. | |
Additional Inherited Members | |
Protected Attributes inherited from Gecode::NaryPropagator< View, PC_INT_VAL > | |
| ViewArray< View > | x |
| Array of views. | |
Naive value distinct propagator.
Eliminates values of assigned views of type View.
Requires
Definition at line 68 of file distinct.hh.
|
inlineprotected |
|
inlineprotected |
|
virtual |
|
virtual |
|
static |