
Number of values propagator for Boolean views base class. More...
#include <nvalues.hh>
Public Member Functions | |
| 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 void | reschedule (Space &home) |
| Schedule function. More... | |
| virtual size_t | dispose (Space &home) |
| Delete propagator and return its size. More... | |
Public Member Functions inherited from Gecode::Propagator | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med)=0 |
| Propagation function. More... | |
| ModEventDelta | modeventdelta (void) const |
| Return the modification event delta. More... | |
| virtual void | advise (Space &home, Advisor &a) |
| Run advisor a to be run on failure in failed space. More... | |
| double | afc (void) const |
| Return the accumlated failure count. More... | |
| unsigned int | id (void) const |
| Return propagator id. More... | |
| PropagatorGroup | group (void) const |
| Return group propagator belongs to. More... | |
| void | group (PropagatorGroup g) |
| Add propagator to group g. More... | |
| bool | disabled (void) const |
| Whether propagator is currently disabled. More... | |
Public Member Functions inherited from Gecode::Actor | |
| virtual Actor * | copy (Space &home)=0 |
| Create copy. More... | |
| virtual | ~Actor (void) |
| To avoid warnings. More... | |
Protected Member Functions | |
| BoolBase (Home home, int status, ViewArray< BoolView > &x, VY y) | |
| Constructor for posting. More... | |
| BoolBase (Space &home, BoolBase< VY > &p) | |
| Constructor for cloning p. More... | |
Protected Member Functions inherited from Gecode::Propagator | |
| Propagator (Home home) | |
| Constructor for posting. More... | |
| Propagator (Space &home, Propagator &p) | |
| Constructor for cloning p. More... | |
| Propagator * | fwd (void) const |
| Return forwarding pointer during copying. More... | |
| Kernel::GPI::Info & | gpi (void) |
| Provide access to global propagator information. More... | |
Protected Attributes | |
| 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 Protected Attributes | |
| 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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Gecode::Actor | |
| 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... | |
| static void * | operator new (size_t s) |
| Not used. More... | |
| static void | operator delete (void *p) |
| Not used. More... | |
Number of values propagator for Boolean views base class.
Requires
Definition at line 293 of file nvalues.hh.
|
inlineprotected |
Constructor for posting.
Definition at line 38 of file bool-base.hpp.
|
inlineprotected |
Constructor for cloning p.
Definition at line 50 of file bool-base.hpp.
|
virtual |
Give advice to propagator.
Reimplemented from Gecode::Propagator.
Definition at line 70 of file bool-base.hpp.
|
virtual |
Cost function (defined as low unary)
Implements Gecode::Propagator.
Definition at line 58 of file bool-base.hpp.
|
virtual |
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 91 of file bool-base.hpp.
|
staticprotected |
View status: a zero has already been encountered.
Definition at line 296 of file nvalues.hh.
|
staticprotected |
View status: a one has already been encountered.
Definition at line 298 of file nvalues.hh.
|
protected |
Status information about the views.
Definition at line 300 of file nvalues.hh.
|
protected |
The advisor council.
Definition at line 302 of file nvalues.hh.
|
protected |
The view for counting the number of values.
Definition at line 304 of file nvalues.hh.