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. | |
![]() | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Give advice to propagator. | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as low unary) | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
![]() | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. | |
double | afc (void) const |
Return the accumlated failure count. |
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. | |
![]() | |
BoolBase (Home home, int status, ViewArray< BoolView > &x, VY y) | |
Constructor for posting. | |
BoolBase (Space &home, bool share, BoolBase< VY > &p) | |
Constructor for cloning p. | |
![]() | |
Propagator (Home home) | |
Constructor for posting. | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. |
Additional Inherited Members | |
![]() | |
int | status |
Status information about the views. | |
Council< ViewAdvisor< BoolView > > | c |
The advisor council. | |
VY | y |
The view for counting the number of values. | |
![]() | |
static const int | VS_ZERO = 1 << 0 |
View status: a zero has already been encountered. | |
static const int | VS_ONE = 1 << 1 |
View status: a one has already been encountered. |
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.