
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. | |
Protected Attributes | |
| ViewArray< BV > | x |
| Views not yet subscribed to. | |
Boolean n-ary disjunction propagator (true)
Requires
#include <gecode/int/bool.hh>
| Gecode::Int::Bool::NaryOrTrue< BV >::NaryOrTrue | ( | Home | home, |
| ViewArray< BV > & | x | ||
| ) | [inline, protected] |
| Gecode::Int::Bool::NaryOrTrue< BV >::NaryOrTrue | ( | Space & | home, |
| bool | share, | ||
| NaryOrTrue< BV > & | p | ||
| ) | [inline, protected] |
| ExecStatus Gecode::Int::Bool::NaryOrTrue< BV >::resubscribe | ( | Space & | home, |
| BV & | x0, | ||
| BV | x1 | ||
| ) | [inline, protected] |
| Actor * Gecode::Int::Bool::NaryOrTrue< BV >::copy | ( | Space & | home, |
| bool | share | ||
| ) | [virtual] |
| PropCost Gecode::Int::Bool::NaryOrTrue< BV >::cost | ( | const Space & | home, |
| const ModEventDelta & | med | ||
| ) | const [virtual] |
Cost function (defined as low unary)
Reimplemented from Gecode::BinaryPropagator< BV, PC_BOOL_VAL >.
| ExecStatus Gecode::Int::Bool::NaryOrTrue< BV >::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| ExecStatus Gecode::Int::Bool::NaryOrTrue< BV >::post | ( | Home | home, |
| ViewArray< BV > & | b | ||
| ) | [inline, static] |
| size_t Gecode::Int::Bool::NaryOrTrue< BV >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::BinaryPropagator< BV, PC_BOOL_VAL >.
ViewArray<BV> Gecode::Int::Bool::NaryOrTrue< BV >::x [protected] |