Generated on Sat Feb 7 2015 02:01:45 for Gecode by doxygen 1.8.9.1
Gecode::Int::Bool::BoolBinary< BVA, BVB > Class Template Reference

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

#include <bool.hh>

Public Member Functions

virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low unary) More...
 
virtual size_t dispose (Space &home)
 Delete propagator and return its size. More...
 
- Public Member Functions inherited from Gecode::Propagator
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)=0
 Propagation function. More...
 
ModEventDelta modeventdelta (void) const
 Return the modification event delta. More...
 
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function. More...
 
double afc (const Space &home) const
 Return the accumlated failure count. More...
 
- Public Member Functions inherited from Gecode::Actor
virtual Actorcopy (Space &home, bool share)=0
 Create copy. More...
 

Protected Member Functions

 BoolBinary (Home home, BVA b0, BVB b1)
 
 BoolBinary (Space &home, bool share, BoolBinary &p)
 Constructor for cloning. More...
 
 BoolBinary (Space &home, bool share, Propagator &p, BVA b0, BVB b1)
 Constructor for rewriting p during cloning. More...
 
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting. More...
 
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p. More...
 
Propagatorfwd (void) const
 Return forwarding pointer during copying. More...
 

Protected Attributes

BVA x0
 Boolean view. More...
 
BVB x1
 Boolean view Constructor for posting. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::Actor
static void * operator new (size_t s, Space &home)
 Allocate memory from space. More...
 
static void operator delete (void *p, Space &home)
 No-op for exceptions. More...
 

Detailed Description

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

Base-class for binary Boolean propagators.

Definition at line 59 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 
)
inlineprotected

Definition at line 46 of file base.hpp.

template<class BVA, class BVB>
Gecode::Int::Bool::BoolBinary< BVA, BVB >::BoolBinary ( Space home,
bool  share,
BoolBinary< BVA, BVB > &  p 
)
inlineprotected

Constructor for cloning.

Definition at line 54 of file base.hpp.

template<class BVA, class BVB>
Gecode::Int::Bool::BoolBinary< BVA, BVB >::BoolBinary ( Space home,
bool  share,
Propagator p,
BVA  b0,
BVB  b1 
)
inlineprotected

Constructor for rewriting p during cloning.

Definition at line 63 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
virtual

Cost function (defined as low unary)

Implements Gecode::Propagator.

Definition at line 72 of file base.hpp.

template<class BVA , class BVB >
size_t Gecode::Int::Bool::BoolBinary< BVA, BVB >::dispose ( Space home)
inlinevirtual

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Reimplemented in Gecode::Int::Bool::QuadOrTrue< BV >, and Gecode::Int::Bool::TerOrTrue< BV >.

Definition at line 78 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 61 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 62 of file bool.hh.


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