Generated on Fri Oct 19 11:26:09 2018 for Gecode by doxygen 1.6.3

Gecode::Int::Distinct::Val< View > Class Template Reference
[Integer propagators]

Naive value distinct propagator. More...

#include <distinct.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, ViewArray< View > &x)
 Post propagator for view array x.

Protected Member Functions

 Val (Home home, ViewArray< View > &x)
 Constructor for posting.
 Val (Space &home, Val< View > &p)
 Constructor for cloning p.

Detailed Description

template<class View>
class Gecode::Int::Distinct::Val< View >

Naive value distinct propagator.

Eliminates values of assigned views of type View.

Requires

Definition at line 64 of file distinct.hh.


Constructor & Destructor Documentation

template<class View >
Gecode::Int::Distinct::Val< View >::Val ( Home  home,
ViewArray< View > &  x 
) [inline, protected]

Constructor for posting.

Definition at line 147 of file val.hpp.

template<class View >
Gecode::Int::Distinct::Val< View >::Val ( Space home,
Val< View > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 152 of file val.hpp.


Member Function Documentation

template<class View >
Actor * Gecode::Int::Distinct::Val< View >::copy ( Space home  )  [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 172 of file val.hpp.

template<class View >
ExecStatus Gecode::Int::Distinct::Val< View >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 178 of file val.hpp.

template<class View >
ExecStatus Gecode::Int::Distinct::Val< View >::post ( Home  home,
ViewArray< View > &  x 
) [inline, static]

Post propagator for view array x.

Definition at line 185 of file val.hpp.


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