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

Gecode::Int::Bool::BoolBinary< BVA, BVB > Class Template Reference

#include <bool.hh>

Inherits Gecode::Propagator.

Inherited by Gecode::Int::Bool::Eq< BVA, BVB >, and Gecode::Int::Bool::OrTrue< BVA, BVB >.

List of all members.


Detailed Description

template<class BVA, class BVB>
class Gecode::Int::Bool::BoolBinary< BVA, BVB >

Base-class for binary Boolean propagators.

Definition at line 43 of file bool.hh.

Public Member Functions

virtual PropCost cost (void) const
 Cost function (defined as PC_UNARY_LO).
virtual size_t dispose (Space *home)
 Delete propagator and return its size.

Protected Member Functions

 BoolBinary (Space *home, BVA b0, BVB b1)
 Constructor for posting.
 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 & Destructor Documentation

template<class BVA, class BVB>
Gecode::Int::Bool::BoolBinary< BVA, BVB >::BoolBinary Space home,
BVA  b0,
BVB  b1
[inline, protected]
 

Constructor for posting.

Definition at line 30 of file base.icc.

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

Constructor for cloning.

template<class BVA, class BVB>
Gecode::Int::Bool::BoolBinary< BVA, BVB >::BoolBinary Space home,
bool  share,
Propagator p,
BVA  b0,
BVB  b1
[inline, protected]
 

Constructor for rewriting p during cloning.

Definition at line 47 of file base.icc.


Member Function Documentation

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

Cost function (defined as PC_UNARY_LO).

Implements Gecode::Propagator.

Definition at line 56 of file base.icc.

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

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 62 of file base.icc.


Member Data Documentation

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

Boolean view.

Definition at line 45 of file bool.hh.

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

Boolean view.

Definition at line 46 of file bool.hh.


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