Nary Boolean less or equal propagator. More...
#include <bool.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
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... | |
![]() | |
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< VX > &x) |
Post propagator ![]() | |
![]() | |
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 | |
NaryLq (Home home, ViewArray< VX > &x) | |
Constructor for posting. More... | |
NaryLq (Space &home, bool share, NaryLq< VX > &p) | |
Constructor for cloning p. More... | |
![]() | |
NaryPropagator (Space &home, bool share, NaryPropagator &p) | |
Constructor for cloning p. More... | |
NaryPropagator (Space &home, bool share, Propagator &p, ViewArray< VX > &x) | |
Constructor for rewriting p during cloning. More... | |
NaryPropagator (Home home, ViewArray< VX > &x) | |
Constructor for creation. 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... | |
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... | |
![]() | |
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 |