Generated on Sat Nov 11 01:12:21 2006 for Gecode by doxygen 1.5.1

Gecode::Int::Rel::ReEqDom< View, CtrlView > Class Template Reference
[Integer propagators]

#include <rel.hh>

Inherits Gecode::ReBinaryPropagator< View, PC_INT_DOM, CtrlView >.

List of all members.


Detailed Description

template<class View, class CtrlView>
class Gecode::Int::Rel::ReEqDom< View, CtrlView >

Reified binary domain-consistent equality propagator.

Requires

 #include "gecode/int/rel.hh" 

Definition at line 185 of file rel.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, View x0, View x1, CtrlView b)
 Post domain-consistent propagator $ (x_0 = x_1)\Leftrightarrow b$.

Protected Member Functions

 ReEqDom (Space *home, bool share, ReEqDom &p)
 Constructor for cloning p.
 ReEqDom (Space *home, View x0, View x1, CtrlView b)
 Constructor for posting.


Constructor & Destructor Documentation

template<class View, class CtrlView>
Gecode::Int::Rel::ReEqDom< View, CtrlView >::ReEqDom ( Space home,
bool  share,
ReEqDom< View, CtrlView > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 403 of file eq.icc.

template<class View, class CtrlView>
Gecode::Int::Rel::ReEqDom< View, CtrlView >::ReEqDom ( Space home,
View  x0,
View  x1,
CtrlView  b 
) [inline, protected]

Constructor for posting.

Definition at line 382 of file eq.icc.


Member Function Documentation

template<class View, class CtrlView>
Actor * Gecode::Int::Rel::ReEqDom< View, CtrlView >::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 408 of file eq.icc.

template<class View, class CtrlView>
ExecStatus Gecode::Int::Rel::ReEqDom< View, CtrlView >::propagate ( Space home  )  [virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 415 of file eq.icc.

template<class View, class CtrlView>
ExecStatus Gecode::Int::Rel::ReEqDom< View, CtrlView >::post ( Space home,
View  x0,
View  x1,
CtrlView  b 
) [static]

Post domain-consistent propagator $ (x_0 = x_1)\Leftrightarrow b$.

Definition at line 387 of file eq.icc.


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