n-ary Boolean equality propagator More...
#include <bool.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. | |
![]() | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
![]() | |
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< BV > &x) |
Post propagator ![]() |
Protected Member Functions | |
NaryEq (Home home, ViewArray< BV > &x) | |
Constructor for posting. | |
NaryEq (Space &home, bool share, NaryEq &p) | |
Constructor for cloning p. | |
![]() | |
NaryPropagator (Space &home, bool share, NaryPropagator &p) | |
Constructor for cloning p. | |
NaryPropagator (Space &home, bool share, Propagator &p, ViewArray< BV > &x) | |
Constructor for rewriting p during cloning. | |
NaryPropagator (Home home, ViewArray< BV > &x) | |
Constructor for creation. | |
![]() | |
Propagator (Home home) | |
Constructor for posting. | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. |
Additional Inherited Members | |
![]() | |
ViewArray< BV > | x |
Array of views. |
n-ary Boolean equality propagator
Requires
|
inlineprotected |
|
inlineprotected |
|
virtual |
|
virtual |
Cost function (defined as low unary)
Reimplemented from Gecode::NaryPropagator< BV, PC_BOOL_VAL >.
|
virtual |
|
inlinestatic |