Generated on Thu Mar 22 10:40:00 2012 for Gecode by doxygen 1.6.3

Gecode::Set::Rel::DistinctDoit< View0 > Class Template Reference
[Set propagators]

Propagator for negated equality More...

#include <rel.hh>

List of all members.

Public Member Functions

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

Static Public Member Functions

static ExecStatus post (Home home, View0, ConstSetView)
 Post propagator $ x\neq y $.

Protected Member Functions

 DistinctDoit (Space &home, bool share, DistinctDoit &)
 Constructor for cloning p.
 DistinctDoit (Home home, View0, ConstSetView)
 Constructor for posting.

Protected Attributes

ConstSetView y
 The view that is already assigned.

Detailed Description

template<class View0>
class Gecode::Set::Rel::DistinctDoit< View0 >

Propagator for negated equality

This propagator actually propagates the distinctness, after the Distinct propagator waited for one variable to become assigned.

Requires

 #include <gecode/set/rel.hh> 

Definition at line 290 of file rel.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 152 of file nq.hpp.

template<class View0 >
Gecode::Set::Rel::DistinctDoit< View0 >::DistinctDoit ( Home  home,
View0  _x,
ConstSetView  _y 
) [inline, protected]

Constructor for posting.

Definition at line 147 of file nq.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 108 of file nq.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 114 of file nq.hpp.

template<class View0 >
ExecStatus Gecode::Set::Rel::DistinctDoit< View0 >::post ( Home  home,
View0  x,
ConstSetView  y 
) [inline, static]

Post propagator $ x\neq y $.

Definition at line 101 of file nq.hpp.


Member Data Documentation

template<class View0>
ConstSetView Gecode::Set::Rel::DistinctDoit< View0 >::y [protected]

The view that is already assigned.

Definition at line 294 of file rel.hh.


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