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

Gecode::Int::Rel::EqVal< View0, View1 > Class Template Reference
[Integer propagators]

Binary value propagation equality propagator. More...

#include <rel.hh>

List of all members.

Public Member Functions

 EqVal (Home home, View0 x0, View1 x1)
 Constructor for posting.
 EqVal (Space &home, bool share, Propagator &p, View0 x0, View1 x1)
 Constructor for rewriting p during cloning.
virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function: low unary.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, View0 x0, View1 x1)
 Post value propagation propagator $ x_0 = x_1$.

Protected Member Functions

 EqVal (Space &home, bool share, EqVal< View0, View1 > &p)
 Constructor for cloning p.

Detailed Description

template<class View0, class View1>
class Gecode::Int::Rel::EqVal< View0, View1 >

Binary value propagation equality propagator.

Requires

 #include <gecode/int/rel.hh> 

Definition at line 107 of file rel.hh.


Constructor & Destructor Documentation

template<class View0 , class View1 >
Gecode::Int::Rel::EqVal< View0, View1 >::EqVal ( Space home,
bool  share,
EqVal< View0, View1 > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 65 of file eq.hpp.

template<class View0 , class View1 >
Gecode::Int::Rel::EqVal< View0, View1 >::EqVal ( Home  home,
View0  x0,
View1  x1 
) [inline]

Constructor for posting.

Definition at line 47 of file eq.hpp.

template<class View0 , class View1 >
Gecode::Int::Rel::EqVal< View0, View1 >::EqVal ( Space home,
bool  share,
Propagator p,
View0  x0,
View1  x1 
) [inline]

Constructor for rewriting p during cloning.

Definition at line 70 of file eq.hpp.


Member Function Documentation

template<class View0 , class View1 >
Actor * Gecode::Int::Rel::EqVal< View0, View1 >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 77 of file eq.hpp.

template<class View0 , class View1 >
PropCost Gecode::Int::Rel::EqVal< View0, View1 >::cost ( const Space home,
const ModEventDelta med 
) const [inline, virtual]

Cost function: low unary.

Reimplemented from Gecode::MixBinaryPropagator< View0, PC_INT_VAL, View1, PC_INT_VAL >.

Definition at line 83 of file eq.hpp.

template<class View0 , class View1 >
ExecStatus Gecode::Int::Rel::EqVal< View0, View1 >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 89 of file eq.hpp.

template<class View0 , class View1 >
ExecStatus Gecode::Int::Rel::EqVal< View0, View1 >::post ( Home  home,
View0  x0,
View1  x1 
) [inline, static]

Post value propagation propagator $ x_0 = x_1$.

Definition at line 52 of file eq.hpp.


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