
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. | |
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. | |
n-ary Boolean equality propagator
Requires
#include <gecode/int/bool.hh>
| Gecode::Int::Bool::NaryEq< BV >::NaryEq | ( | Home | home, |
| ViewArray< BV > & | x | ||
| ) | [inline, protected] |
| Gecode::Int::Bool::NaryEq< BV >::NaryEq | ( | Space & | home, |
| bool | share, | ||
| NaryEq< BV > & | p | ||
| ) | [inline, protected] |
| Actor * Gecode::Int::Bool::NaryEq< BV >::copy | ( | Space & | home, |
| bool | share | ||
| ) | [virtual] |
| PropCost Gecode::Int::Bool::NaryEq< BV >::cost | ( | const Space & | home, |
| const ModEventDelta & | med | ||
| ) | const [virtual] |
Cost function (defined as low unary)
Reimplemented from Gecode::NaryPropagator< BV, PC_BOOL_VAL >.
| ExecStatus Gecode::Int::Bool::NaryEq< BV >::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| ExecStatus Gecode::Int::Bool::NaryEq< BV >::post | ( | Home | home, |
| ViewArray< BV > & | x | ||
| ) | [inline, static] |