Generated on Tue May 22 09:41:22 2018 for Gecode by doxygen 1.6.3

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

Base-class for binary Boolean propagators. More...

#include <bool.hh>

List of all members.

Public Member Functions

virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low unary).
virtual void reschedule (Space &home)
 Schedule function.
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, BoolBinary &p)
 Constructor for cloning.
 BoolBinary (Space &home, 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.

Detailed Description

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

Base-class for binary Boolean propagators.

Definition at line 55 of file bool.hh.


Constructor & Destructor Documentation

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

Definition at line 42 of file base.hpp.

template<class BVA, class BVB>
Gecode::Int::Bool::BoolBinary< BVA, BVB >::BoolBinary ( Space home,
BoolBinary< BVA, BVB > &  p 
) [inline, protected]

Constructor for cloning.

Definition at line 50 of file base.hpp.

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

Constructor for rewriting p during cloning.

Definition at line 58 of file base.hpp.


Member Function Documentation

template<class BVA , class BVB >
PropCost Gecode::Int::Bool::BoolBinary< BVA, BVB >::cost ( const Space home,
const ModEventDelta med 
) const [inline, virtual]

Cost function (defined as low unary).

Implements Gecode::Propagator.

Definition at line 67 of file base.hpp.

template<class BVA , class BVB >
void Gecode::Int::Bool::BoolBinary< BVA, BVB >::reschedule ( Space home  )  [inline, virtual]

Schedule function.

Implements Gecode::Propagator.

Definition at line 73 of file base.hpp.

template<class BVA , class BVB >
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::TerOrTrue< BV >, and Gecode::Int::Bool::QuadOrTrue< BV >.

Definition at line 80 of file base.hpp.


Member Data Documentation

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

Boolean view.

Definition at line 57 of file bool.hh.

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

Boolean view Constructor for posting.

Definition at line 58 of file bool.hh.


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