Boolean n-ary disjunction propagator (true) More...
#include <bool.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. More... | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as low unary) More... | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. More... | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. More... | |
![]() | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. More... | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Advise function. More... | |
double | afc (const Space &home) const |
Return the accumlated failure count. More... | |
![]() |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< BV > &b) |
Post propagator ![]() | |
![]() | |
static void * | operator new (size_t s, Space &home) |
Allocate memory from space. More... | |
static void | operator delete (void *p, Space &home) |
No-op for exceptions. More... | |
Protected Member Functions | |
ExecStatus | resubscribe (Space &home, BV &x0, BV x1) |
Update subscription. More... | |
NaryOrTrue (Home home, ViewArray< BV > &x) | |
Constructor for posting. More... | |
NaryOrTrue (Space &home, bool share, NaryOrTrue< BV > &p) | |
Constructor for cloning p. More... | |
![]() | |
BinaryPropagator (Space &home, bool share, BinaryPropagator &p) | |
Constructor for cloning p. More... | |
BinaryPropagator (Home home, BVx0, BVx1) | |
Constructor for creation. More... | |
BinaryPropagator (Space &home, bool share, Propagator &p, BVx0, BVx1) | |
Constructor for rewriting p during cloning. More... | |
![]() | |
Propagator (Home home) | |
Constructor for posting. More... | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. More... | |
Propagator * | fwd (void) const |
Return forwarding pointer during copying. More... | |
Protected Attributes | |
ViewArray< BV > | x |
Views not yet subscribed to. More... | |
![]() | |
BV | x0 |
Two views. More... | |
BV | x1 |
Boolean n-ary disjunction propagator (true)
Requires
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
virtual |
|
virtual |
Cost function (defined as low unary)
Reimplemented from Gecode::BinaryPropagator< BV, PC_BOOL_VAL >.
|
virtual |
|
inlinestatic |
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::BinaryPropagator< BV, PC_BOOL_VAL >.
|
protected |