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 82 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 (ModEventDelta med) 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) | |
BoolTernary (Space *home, bool share, BoolTernary &p) | |
Constructor for cloning. | |
Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m, const Support::Symbol &name) const |
Specification for this propagator. | |
Protected Attributes | |
BVA | x0 |
Boolean view. | |
BVB | x1 |
Boolean view. | |
BVC | x2 |
Boolean view Constructor for posting. |
Constructor & Destructor Documentation
template<class BVA, class BVB, class BVC>
Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::BoolTernary | ( | Space * | home, | |
BVA | b0, | |||
BVB | b1, | |||
BVC | b2 | |||
) | [inline, protected] |
template<class BVA, class BVB, class BVC>
Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::BoolTernary | ( | Space * | home, | |
bool | share, | |||
BoolTernary< BVA, BVB, BVC > & | p | |||
) | [inline, protected] |
template<class BVA, class BVB, class BVC>
Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::BoolTernary | ( | Space * | home, | |
bool | share, | |||
Propagator & | p, | |||
BVA | b0, | |||
BVB | b1, | |||
BVC | b2 | |||
) | [inline] |
Member Function Documentation
template<class BVA, class BVB, class BVC>
Reflection::ActorSpec Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m, | |||
const Support::Symbol & | name | |||
) | const [inline, protected] |
template<class BVA, class BVB, class BVC>
PropCost Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::cost | ( | ModEventDelta | med | ) | const [inline, virtual] |
template<class BVA, class BVB, class BVC>
size_t Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::dispose | ( | Space * | home | ) | [inline, virtual] |
Member Data Documentation
template<class BVA, class BVB, class BVC>
BVA Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::x0 [protected] |
template<class BVA, class BVB, class BVC>
BVB Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::x1 [protected] |
template<class BVA, class BVB, class BVC>
BVC Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::x2 [protected] |
The documentation for this class was generated from the following files:
- gecode/int/bool.hh (Revision: 5993)
- gecode/int/bool/base.icc (Revision: 5993)