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. More... | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. More... | |
![]() | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Give advice to propagator. More... | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as low unary) More... | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. More... | |
![]() | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. More... | |
double | afc (const Space &home) const |
Return the accumlated failure count. More... | |
![]() |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< BoolView > &x, VY y) |
Post propagator for ![]() | |
![]() | |
static void * | operator new (size_t s, Space &home) |
Allocate memory from space. More... | |
static void | operator delete (void *p, Space &home) |
No-op for exceptions. More... | |
Protected Member Functions | |
EqBool (Home home, int status, ViewArray< BoolView > &x, VY y) | |
Constructor for posting. More... | |
EqBool (Space &home, bool share, EqBool< VY > &p) | |
Constructor for cloning p. More... | |
![]() | |
BoolBase (Home home, int status, ViewArray< BoolView > &x, VY y) | |
Constructor for posting. More... | |
BoolBase (Space &home, bool share, BoolBase< VY > &p) | |
Constructor for cloning p. More... | |
![]() | |
Propagator (Home home) | |
Constructor for posting. More... | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. More... | |
Propagator * | fwd (void) const |
Return forwarding pointer during copying. More... | |
Additional Inherited Members | |
![]() | |
int | status |
Status information about the views. More... | |
Council< ViewAdvisor< BoolView > > | c |
The advisor council. More... | |
VY | y |
The view for counting the number of values. More... | |
![]() | |
static const int | VS_ZERO = 1 << 0 |
View status: a zero has already been encountered. More... | |
static const int | VS_ONE = 1 << 1 |
View status: a one has already been encountered. More... | |
Equal to number of values propagator for Boolean views.
Requires
Definition at line 331 of file nvalues.hh.
|
inlineprotected |
Constructor for posting.
Definition at line 45 of file bool-eq.hpp.
|
inlineprotected |
Constructor for cloning p.
Definition at line 50 of file bool-eq.hpp.
|
virtual |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 55 of file bool-eq.hpp.
|
virtual |
|
inlinestatic |
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.