
Equal to number of values propagator for Boolean views. More...
#include <nvalues.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home, bool share) |
| Copy propagator during cloning. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, ViewArray< BoolView > &x, VY y) |
Post propagator for . | |
Protected Member Functions | |
| EqBool (Home home, int status, ViewArray< BoolView > &x, VY y) | |
| Constructor for posting. | |
| EqBool (Space &home, bool share, EqBool< VY > &p) | |
| Constructor for cloning p. | |
Equal to number of values propagator for Boolean views.
Requires
#include <gecode/int/nvalues.hh>
Definition at line 331 of file nvalues.hh.
| Gecode::Int::NValues::EqBool< VY >::EqBool | ( | Home | home, |
| int | status, | ||
| ViewArray< BoolView > & | x, | ||
| VY | y | ||
| ) | [inline, protected] |
Constructor for posting.
Definition at line 45 of file bool-eq.hpp.
| Gecode::Int::NValues::EqBool< VY >::EqBool | ( | Space & | home, |
| bool | share, | ||
| EqBool< VY > & | p | ||
| ) | [inline, protected] |
Constructor for cloning p.
Definition at line 50 of file bool-eq.hpp.
| Actor * Gecode::Int::NValues::EqBool< VY >::copy | ( | Space & | home, |
| bool | share | ||
| ) | [virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 55 of file bool-eq.hpp.
| ExecStatus Gecode::Int::NValues::EqBool< VY >::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| ExecStatus Gecode::Int::NValues::EqBool< VY >::post | ( | Home | home, |
| ViewArray< BoolView > & | x, | ||
| VY | y | ||
| ) | [inline, static] |
Post propagator for
.
The view array x is used only temporarily and hence can be region allocated.
Definition at line 61 of file bool-eq.hpp.