Boolean n-ary disjunction propagator. More...
#include <bool.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Give advice to propagator. | |
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< VX > &x, VY y) |
Post propagator ![]() |
Protected Member Functions | |
NaryOr (Home home, ViewArray< VX > &x, VY y) | |
Constructor for posting. | |
NaryOr (Space &home, bool share, NaryOr< VX, VY > &p) | |
Constructor for cloning p. | |
![]() | |
MixNaryOnePropagator (Space &home, bool share, MixNaryOnePropagator &p) | |
Constructor for cloning p. | |
MixNaryOnePropagator (Home home, ViewArray< VX > &x, VYy) | |
Constructor for creation. | |
MixNaryOnePropagator (Space &home, bool share, Propagator &p, ViewArray< VX > &x, VYy) | |
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 | |
int | n_zero |
The number of views assigned to zero in x. | |
Council< Advisor > | c |
The advisor council. | |
![]() | |
ViewArray< VX > | x |
Array of views. | |
VY | y |
Single view. |
Boolean n-ary disjunction propagator.
Requires
|
inlineprotected |
|
inlineprotected |
|
virtual |
|
virtual |
Give advice to propagator.
Reimplemented from Gecode::Propagator.
|
virtual |
Cost function (defined as low unary)
Reimplemented from Gecode::MixNaryOnePropagator< VX, PC_BOOL_NONE, VY, PC_BOOL_VAL >.
|
virtual |
|
inlinestatic |
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::MixNaryOnePropagator< VX, PC_BOOL_NONE, VY, PC_BOOL_VAL >.
|
protected |
|
protected |