
Propagator for equality to Boolean sum (cardinality) More...
#include <linear.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home, bool share) |
| Create copy during cloning. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, ViewArray< XV > &x, YV y, int c) |
Post propagator for . | |
Protected Member Functions | |
| EqBoolView (Space &home, bool share, EqBoolView &p) | |
| Constructor for cloning p. | |
| EqBoolView (Home home, ViewArray< XV > &x, YV y, int c) | |
| Constructor for creation. | |
Propagator for equality to Boolean sum (cardinality)
Requires
#include <gecode/int/linear.hh>
| Gecode::Int::Linear::EqBoolView< XV, YV >::EqBoolView | ( | Space & | home, |
| bool | share, | ||
| EqBoolView< XV, YV > & | p | ||
| ) | [inline, protected] |
Constructor for cloning p.
Definition at line 120 of file bool-view.hpp.
| Gecode::Int::Linear::EqBoolView< XV, YV >::EqBoolView | ( | Home | home, |
| ViewArray< XV > & | x, | ||
| YV | y, | ||
| int | c | ||
| ) | [inline, protected] |
Constructor for creation.
Definition at line 82 of file bool-view.hpp.
| Actor * Gecode::Int::Linear::EqBoolView< XV, YV >::copy | ( | Space & | home, |
| bool | share | ||
| ) | [virtual] |
| ExecStatus Gecode::Int::Linear::EqBoolView< XV, YV >::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| ExecStatus Gecode::Int::Linear::EqBoolView< XV, YV >::post | ( | Home | home, |
| ViewArray< XV > & | x, | ||
| YV | y, | ||
| int | c | ||
| ) | [static] |
Post propagator for
.
Definition at line 87 of file bool-view.hpp.