Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC > Class Template Reference
#include <bool.hh>
Inherits Gecode::Propagator.
Inherited by Gecode::Int::Bool::Eqv< BVA, BVB, BVC >, and Gecode::Int::Bool::Or< BVA, BVB, BVC >.
Detailed Description
template<class BVA, class BVB, class BVC>
class Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >
Base-class for ternary Boolean propagators.
Definition at line 63 of file 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 (void) const |
Cost function (defined as PC_BINARY_LO). | |
virtual size_t | dispose (Space *home) |
Delete propagator and return its size. | |
Protected Member Functions | |
BoolTernary (Space *home, BVA b0, BVB b1, BVC b2) | |
Constructor for posting. | |
BoolTernary (Space *home, bool share, BoolTernary &p) | |
Constructor for cloning. | |
Protected Attributes | |
BVA | x0 |
Boolean view. | |
BVB | x1 |
Boolean view. | |
BVC | x2 |
Boolean view. |
Constructor & Destructor Documentation
|
Constructor for posting.
|
|
Constructor for cloning.
|
|
Constructor for rewriting p during cloning.
|
Member Function Documentation
|
Cost function (defined as PC_BINARY_LO).
Implements Gecode::Propagator. |
|
Delete propagator and return its size.
Reimplemented from Gecode::Actor. |
Member Data Documentation
|
Boolean view.
|
|
Boolean view.
|
|
Boolean view.
|
The documentation for this class was generated from the following files:
- gecode/int/bool.hh (Revision: 3600)
- gecode/int/bool/base.icc (Revision: 3566)