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

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

#include <rel.hh>

Inherits Gecode::UnaryPropagator< View0, PC_SET_ANY >.

List of all members.


Detailed Description

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

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 220 of file rel.hh.

Public Member Functions

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

Static Public Member Functions

static ExecStatus post (Space *home, View0, View1)
 Post propagator $ x\neq y $.

Protected Member Functions

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

Protected Attributes

View1 y
 The view that is already assigned.


Constructor & Destructor Documentation

template<class View0, class View1>
Gecode::Set::Rel::DistinctDoit< View0, View1 >::DistinctDoit Space home,
bool  share,
DistinctDoit< View0, View1 > & 
[protected]
 

Constructor for cloning p.

template<class View0, class View1>
Gecode::Set::Rel::DistinctDoit< View0, View1 >::DistinctDoit Space home,
View0  ,
View1 
[inline, protected]
 

Constructor for posting.

Definition at line 119 of file nq.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 79 of file nq.icc.

template<class View0, class View1>
ExecStatus Gecode::Set::Rel::DistinctDoit< View0, View1 >::propagate Space home  )  [virtual]
 

Perform propagation.

Implements Gecode::Propagator.

Definition at line 85 of file nq.icc.

template<class View0, class View1>
ExecStatus Gecode::Set::Rel::DistinctDoit< View0, View1 >::post Space home,
View0  ,
View1 
[static]
 

Post propagator $ x\neq y $.

Definition at line 72 of file nq.icc.


Member Data Documentation

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

The view that is already assigned.

Definition at line 224 of file rel.hh.


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