Generated on Mon Aug 25 11:35:54 2008 for Gecode by doxygen 1.5.6

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

#include <rel.hh>

Inherits UnaryPropagator< View0, PC_SET_ANY >.

List of all members.


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


Public Member Functions

virtual Actorcopy (Space *home, bool)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home, ModEventDelta med)
 Perform propagation.
virtual Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m) const
 Specification for this propagator.

Static Public Member Functions

static ExecStatus post (Space *home, View0, ConstantView)
 Post propagator $ x\neq y $.
static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post using specification.
static Support::Symbol ati (void)
 Name of this propagator.

Protected Member Functions

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

Protected Attributes

ConstantView y
 The view that is already assigned.

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 200 of file nq.icc.

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

Constructor for posting.

Definition at line 195 of file nq.icc.


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 132 of file nq.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 162 of file nq.icc.

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

Post propagator $ x\neq y $.

Definition at line 125 of file nq.icc.

template<class View0>
Reflection::ActorSpec Gecode::Set::Rel::DistinctDoit< View0 >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 144 of file nq.icc.

template<class View0>
void Gecode::Set::Rel::DistinctDoit< View0 >::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [inline, static]

Post using specification.

Definition at line 152 of file nq.icc.

template<class View0>
Support::Symbol Gecode::Set::Rel::DistinctDoit< View0 >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 138 of file nq.icc.


Member Data Documentation

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

The view that is already assigned.

Definition at line 287 of file rel.hh.


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