
Base-class for binary Boolean propagators. More...
#include <bool.hh>
Public Member Functions | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function (defined as low unary) | |
| virtual size_t | dispose (Space &home) |
| Delete propagator and return its size. | |
Protected Member Functions | |
| BoolBinary (Home home, BVA b0, BVB b1) | |
| BoolBinary (Space &home, bool share, BoolBinary &p) | |
| Constructor for cloning. | |
| BoolBinary (Space &home, bool share, Propagator &p, BVA b0, BVB b1) | |
| Constructor for rewriting p during cloning. | |
Protected Attributes | |
| BVA | x0 |
| Boolean view. | |
| BVB | x1 |
| Boolean view Constructor for posting. | |
Base-class for binary Boolean propagators.
| Gecode::Int::Bool::BoolBinary< BVA, BVB >::BoolBinary | ( | Home | home, |
| BVA | b0, | ||
| BVB | b1 | ||
| ) | [inline, protected] |
| Gecode::Int::Bool::BoolBinary< BVA, BVB >::BoolBinary | ( | Space & | home, |
| bool | share, | ||
| BoolBinary< BVA, BVB > & | p | ||
| ) | [inline, protected] |
| Gecode::Int::Bool::BoolBinary< BVA, BVB >::BoolBinary | ( | Space & | home, |
| bool | share, | ||
| Propagator & | p, | ||
| BVA | b0, | ||
| BVB | b1 | ||
| ) | [inline, protected] |
| PropCost Gecode::Int::Bool::BoolBinary< BVA, BVB >::cost | ( | const Space & | home, |
| const ModEventDelta & | med | ||
| ) | const [virtual] |
Cost function (defined as low unary)
Implements Gecode::Propagator.
| size_t Gecode::Int::Bool::BoolBinary< BVA, BVB >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Reimplemented in Gecode::Int::Bool::QuadOrTrue< BV >, and Gecode::Int::Bool::TerOrTrue< BV >.
BVA Gecode::Int::Bool::BoolBinary< BVA, BVB >::x0 [protected] |
BVB Gecode::Int::Bool::BoolBinary< BVA, BVB >::x1 [protected] |