
Nary Boolean less or equal propagator. More...
#include <bool.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| Copy propagator during cloning. 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 ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. More... | |
| virtual size_t | dispose (Space &home) |
| Delete propagator and return its size. More... | |
Public Member Functions inherited from Gecode::NaryPropagator< VX, PC_BOOL_NONE > | |
| virtual void | reschedule (Space &home) |
| Schedule function. More... | |
Public Member Functions inherited from Gecode::Propagator | |
| 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 (void) |
| To avoid warnings. More... | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, ViewArray< VX > &x) |
Post propagator . More... | |
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... | |
Protected Member Functions | |
| NaryLq (Home home, ViewArray< VX > &x) | |
| Constructor for posting. More... | |
| NaryLq (Space &home, NaryLq< VX > &p) | |
| Constructor for cloning p. More... | |
Protected Member Functions inherited from Gecode::NaryPropagator< VX, PC_BOOL_NONE > | |
| NaryPropagator (Space &home, NaryPropagator &p) | |
| Constructor for cloning p. More... | |
| NaryPropagator (Space &home, Propagator &p, ViewArray< VX > &x) | |
| Constructor for rewriting p during cloning. More... | |
| NaryPropagator (Home home, ViewArray< VX > &x) | |
| Constructor for creation. 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 | |
| bool | run |
| Whether the propagator is currently running. More... | |
| int | n_zero |
| The number of views assigned to zero in x. More... | |
| int | n_one |
| The number of views assigned to one in x. More... | |
| Council< Advisor > | c |
| The advisor council. More... | |
Protected Attributes inherited from Gecode::NaryPropagator< VX, PC_BOOL_NONE > | |
| ViewArray< VX > | x |
| Array of views. More... | |
Nary Boolean less or equal propagator.
Requires
|
inlineprotected |
|
inlineprotected |
|
virtual |
|
virtual |
Give advice to propagator.
Reimplemented from Gecode::Propagator.
|
virtual |
Cost function (defined as low unary)
Reimplemented from Gecode::NaryPropagator< VX, PC_BOOL_NONE >.
|
virtual |
|
inlinestatic |
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::NaryPropagator< VX, PC_BOOL_NONE >.
|
protected |
|
protected |
|
protected |
|
protected |