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

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

#include <bool.hh>

Public Member Functions

 BoolTernary (Space &home, bool share, Propagator &p, BVA b0, BVB b1, BVC b2)
 Constructor for rewriting p during cloning. More...
 
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low binary) 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

 BoolTernary (Home home, BVA b0, BVB b1, BVC b2)
 
 BoolTernary (Space &home, bool share, BoolTernary &p)
 Constructor for 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. More...
 
BVC x2
 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 BVC>
class Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >

Base-class for ternary Boolean propagators.

Definition at line 79 of file bool.hh.

Constructor & Destructor Documentation

template<class BVA , class BVB , class BVC >
Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::BoolTernary ( Home  home,
BVA  b0,
BVB  b1,
BVC  b2 
)
inlineprotected

Definition at line 92 of file base.hpp.

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

Constructor for cloning.

Definition at line 101 of file base.hpp.

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 111 of file base.hpp.

Member Function Documentation

template<class BVA , class BVB , class BVC >
PropCost Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >::cost ( const Space home,
const ModEventDelta med 
) const
virtual

Cost function (defined as low binary)

Implements Gecode::Propagator.

Definition at line 121 of file base.hpp.

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

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 127 of file base.hpp.

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 81 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 82 of file bool.hh.

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

Boolean view Constructor for posting.

Definition at line 83 of file bool.hh.


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