
Boolean clause propagator (disjunctive) More...
#include <bool.hh>
Classes | |
| class | Tagged |
| Advisors for views (tagged whether for x or y) More... | |
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... | |
Public Member Functions inherited from Gecode::Propagator | |
| ModEventDelta | modeventdelta (void) const |
| Return the modification event delta. More... | |
| double | afc (const Space &home) const |
| Return the accumlated failure count. More... | |
Public Member Functions inherited from Gecode::Actor | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, ViewArray< VX > &x, ViewArray< VY > &y, VX z) |
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... | |
Protected Member Functions | |
| void | cancel (Space &home) |
| Cancel subscriptions. More... | |
| Clause (Home home, ViewArray< VX > &x, ViewArray< VY > &y, VX z) | |
| Constructor for posting. More... | |
| Clause (Space &home, bool share, Clause< VX, VY > &p) | |
| Constructor for cloning p. More... | |
Protected Member Functions inherited from Gecode::Propagator | |
| 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 | |
| ViewArray< VX > | x |
| Positive views. More... | |
| ViewArray< VY > | y |
| Positive views (origin from negative variables) More... | |
| VX | z |
| Result. More... | |
| int | n_zero |
| The number of views assigned to zero in x and y. More... | |
| Council< Tagged > | c |
| The advisor council. More... | |
Boolean clause propagator (disjunctive)
Requires
|
inlineprotected |
Constructor for posting.
Definition at line 208 of file clause.hpp.
|
inlineprotected |
Constructor for cloning p.
Definition at line 218 of file clause.hpp.
|
inlineprotected |
Cancel subscriptions.
Definition at line 297 of file clause.hpp.
|
virtual |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 242 of file clause.hpp.
|
virtual |
Give advice to propagator.
Reimplemented from Gecode::Propagator.
Definition at line 320 of file clause.hpp.
|
virtual |
Cost function (defined as low unary)
Implements Gecode::Propagator.
Definition at line 291 of file clause.hpp.
|
virtual |
|
inlinestatic |
Post propagator
.
Definition at line 250 of file clause.hpp.
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 311 of file clause.hpp.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |