Generated on Mon Aug 25 11:35:50 2008 for Gecode by doxygen 1.5.6

Gecode::Int::Bool::Eqv< BVA, BVB, BVC > Class Template Reference
[Integer propagators]

#include <bool.hh>

Inherits Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >.

List of all members.


Detailed Description

template<class BVA, class BVB, class BVC>
class Gecode::Int::Bool::Eqv< BVA, BVB, BVC >

Boolean equivalence propagator.

Requires

 #include "gecode/int/bool.hh" 

Definition at line 450 of file bool.hh.


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home, ModEventDelta med)
 Perform propagation.
virtual Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m) const
 Specification for this propagator.

Static Public Member Functions

static ExecStatus post (Space *home, BVA b0, BVB b1, BVC b2)
 Post propagator $ b_0 \Leftrightarrow b_1 = b_2 $ (equivalence).
static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post using specification.
static Support::Symbol ati (void)
 Name of this propagator.

Protected Member Functions

 Eqv (Space *home, bool share, Eqv &p)
 Constructor for cloning p.
 Eqv (Space *home, BVA b0, BVB b1, BVC b2)
 Constructor for posting.

Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 47 of file eqv.icc.

template<class BVA, class BVB, class BVC>
Gecode::Int::Bool::Eqv< BVA, BVB, BVC >::Eqv ( Space home,
BVA  b0,
BVB  b1,
BVC  b2 
) [inline, protected]

Constructor for posting.

Definition at line 42 of file eqv.icc.


Member Function Documentation

template<class BVA, class BVB, class BVC>
Actor * Gecode::Int::Bool::Eqv< BVA, BVB, BVC >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 85 of file eqv.icc.

template<class BVA, class BVB, class BVC>
ExecStatus Gecode::Int::Bool::Eqv< BVA, BVB, BVC >::propagate ( Space home,
ModEventDelta  med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 91 of file eqv.icc.

template<class BVA, class BVB, class BVC>
ExecStatus Gecode::Int::Bool::Eqv< BVA, BVB, BVC >::post ( Space home,
BVA  b0,
BVB  b1,
BVC  b2 
) [inline, static]

Post propagator $ b_0 \Leftrightarrow b_1 = b_2 $ (equivalence).

Definition at line 52 of file eqv.icc.

template<class BVA, class BVB, class BVC>
Reflection::ActorSpec Gecode::Int::Bool::Eqv< BVA, BVB, BVC >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 162 of file eqv.icc.

template<class BVA, class BVB, class BVC>
void Gecode::Int::Bool::Eqv< BVA, BVB, BVC >::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [inline, static]

Post using specification.

Definition at line 168 of file eqv.icc.

template<class BVA, class BVB, class BVC>
Support::Symbol Gecode::Int::Bool::Eqv< BVA, BVB, BVC >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 157 of file eqv.icc.


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