Generated on Wed Sep 5 2012 18:52:34 for Gecode by doxygen 1.8.1.1
Gecode::Int::Bool::Eq< BVA, BVB > Class Template Reference

Boolean equality propagator. More...

#include <bool.hh>

List of all members.

Public Member Functions

 Eq (Space &home, bool share, Propagator &p, BVA b0, BVB b1)
 Constructor for rewriting p during cloning.
virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
- Public Member Functions inherited from Gecode::Int::Bool::BoolBinary< BVA, BVB >
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low unary)
virtual size_t dispose (Space &home)
 Delete propagator and return its size.
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta.
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function.
double afc (void) const
 Return the accumlated failure count.

Static Public Member Functions

static ExecStatus post (Home home, BVA x0, BVB x1)
 Post propagator $ x_0 = x_1$.

Protected Member Functions

 Eq (Home home, BVA b0, BVB b1)
 Constructor for posting.
 Eq (Space &home, bool share, Eq &p)
 Constructor for cloning p.
- Protected Member Functions inherited from Gecode::Int::Bool::BoolBinary< BVA, BVB >
 BoolBinary (Home home, BVA b0, BVB b1)
 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 Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting.
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p.

Additional Inherited Members

- Protected Attributes inherited from Gecode::Int::Bool::BoolBinary< BVA, BVB >
BVA x0
 Boolean view.
BVB x1
 Boolean view Constructor for posting.

Detailed Description

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

Boolean equality propagator.

Requires

#include <gecode/int/bool.hh>

Definition at line 105 of file bool.hh.


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 42 of file eq.hpp.

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

Constructor for cloning p.

Definition at line 47 of file eq.hpp.

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

Constructor for rewriting p during cloning.

Definition at line 52 of file eq.hpp.


Member Function Documentation

template<class BVA , class BVB >
Actor * Gecode::Int::Bool::Eq< BVA, BVB >::copy ( Space home,
bool  share 
)
virtual

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 58 of file eq.hpp.

template<class BVA , class BVB >
ExecStatus Gecode::Int::Bool::Eq< BVA, BVB >::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 88 of file eq.hpp.

template<class BVA , class BVB >
ExecStatus Gecode::Int::Bool::Eq< BVA, BVB >::post ( Home  home,
BVA  x0,
BVB  x1 
)
inlinestatic

Post propagator $ x_0 = x_1$.

Definition at line 64 of file eq.hpp.


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