Generated on Wed Nov 1 15:05:16 2006 for Gecode by doxygen 1.4.5

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

#include <bool.hh>

Inherits Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >< 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 227 of file bool.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home)
 Perform propagation.

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

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
[protected]
 

Constructor for cloning p.

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 26 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
[virtual]
 

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 74 of file eqv.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 80 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 36 of file eqv.icc.


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