Generated on Tue Apr 18 10:23:43 2017 for Gecode by doxygen 1.6.3

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

Boolean equivalence propagator. More...

#include <bool.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, BVA b0, BVB b1, BVC b2)
 Post propagator $ b_0 \Leftrightarrow b_1 = b_2 $ (equivalence).

Protected Member Functions

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

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


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.hpp.

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

Constructor for posting.

Definition at line 42 of file eqv.hpp.


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.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 91 of file eqv.hpp.

template<class BVA , class BVB , class BVC >
ExecStatus Gecode::Int::Bool::Eqv< BVA, BVB, BVC >::post ( Home  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.hpp.


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