Boolean n-ary disjunction propagator (true) 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. |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< BV > &b) |
Post propagator ![]() |
Protected Member Functions | |
ExecStatus | resubscribe (Space &home, BV &x0, BV x1) |
Update subscription. | |
NaryOrTrue (Home home, ViewArray< BV > &x) | |
Constructor for posting. | |
NaryOrTrue (Space &home, bool share, NaryOrTrue< BV > &p) | |
Constructor for cloning p. | |
![]() | |
BinaryPropagator (Space &home, bool share, BinaryPropagator &p) | |
Constructor for cloning p. | |
BinaryPropagator (Home home, BVx0, BVx1) | |
Constructor for creation. | |
BinaryPropagator (Space &home, bool share, Propagator &p, BVx0, BVx1) | |
Constructor for rewriting p during cloning. | |
![]() | |
Propagator (Home home) | |
Constructor for posting. | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. |
Protected Attributes | |
ViewArray< BV > | x |
Views not yet subscribed to. | |
![]() | |
BV | x0 |
Two views. | |
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 |