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. | |
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 ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
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< VX > &x, ViewArray< VY > &y, VX z) |
Post propagator ![]() |
Protected Member Functions | |
void | cancel (Space &home) |
Cancel subscriptions. | |
Clause (Home home, ViewArray< VX > &x, ViewArray< VY > &y, VX z) | |
Constructor for posting. | |
Clause (Space &home, bool share, Clause< VX, VY > &p) | |
Constructor for cloning p. | |
![]() | |
Propagator (Home home) | |
Constructor for posting. | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. |
Protected Attributes | |
ViewArray< VX > | x |
Positive views. | |
ViewArray< VY > | y |
Positive views (origin from negative variables) | |
VX | z |
Result. | |
int | n_zero |
The number of views assigned to zero in x and y. | |
Council< Tagged > | c |
The advisor council. |
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 |