Generated on Thu Apr 11 14:00:11 2019 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)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

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

Protected Member Functions

 DistinctDoit (Space &home, DistinctDoit &)
 Constructor for cloning p.
 DistinctDoit (Home home, View0 x0, ConstSetView y)
 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 296 of file rel.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 150 of file nq.hpp.

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

Constructor for posting.

Definition at line 145 of file nq.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 106 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 112 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 99 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 300 of file rel.hh.


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