Generated on Wed Nov 1 15:05:16 2006 for Gecode by doxygen 1.4.5

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 >.

List of all members.


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

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]
 

Constructor for posting.

Definition at line 77 of file base.icc.

template<class BVA, class BVB, class BVC>
Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::BoolTernary Space home,
bool  share,
BoolTernary< BVA, BVB, BVC > &  p
[protected]
 

Constructor for cloning.

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]
 

Constructor for rewriting p during cloning.

Definition at line 96 of file base.icc.


Member Function Documentation

template<class BVA, class BVB, class BVC>
PropCost Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::cost void   )  const [virtual]
 

Cost function (defined as PC_BINARY_LO).

Implements Gecode::Propagator.

Definition at line 106 of file base.icc.

template<class BVA, class BVB, class BVC>
size_t Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::dispose Space home  )  [virtual]
 

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 112 of file base.icc.


Member Data Documentation

template<class BVA, class BVB, class BVC>
BVA Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::x0 [protected]
 

Boolean view.

Definition at line 65 of file bool.hh.

template<class BVA, class BVB, class BVC>
BVB Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::x1 [protected]
 

Boolean view.

Definition at line 66 of file bool.hh.

template<class BVA, class BVB, class BVC>
BVC Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::x2 [protected]
 

Boolean view.

Definition at line 67 of file bool.hh.


The documentation for this class was generated from the following files: