Base-class for ternary Boolean propagators. More...
#include <bool.hh>
Public Member Functions | |
BoolTernary (Space &home, bool share, Propagator &p, BVA b0, BVB b1, BVC b2) | |
Constructor for rewriting p during cloning. | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as low binary) | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
![]() | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med)=0 |
Propagation function. | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Advise function. | |
double | afc (void) const |
Return the accumlated failure count. |
Protected Member Functions | |
BoolTernary (Home home, BVA b0, BVB b1, BVC b2) | |
BoolTernary (Space &home, bool share, BoolTernary &p) | |
Constructor for cloning. | |
![]() | |
Propagator (Home home) | |
Constructor for posting. | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. |
Protected Attributes | |
BVA | x0 |
Boolean view. | |
BVB | x1 |
Boolean view. | |
BVC | x2 |
Boolean view Constructor for posting. |
Base-class for ternary Boolean propagators.
|
inlineprotected |
|
inlineprotected |
|
inline |
|
virtual |
Cost function (defined as low binary)
Implements Gecode::Propagator.
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
|
protected |
|
protected |
|
protected |