Generated on Tue Sep 25 2012 20:53:30 for Gecode by doxygen 1.7.5
Gecode::Int::Distinct::Val Class Reference

Naive value distinct propagator. More...

#include <distinct.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 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, bool share, Val< View > &p)
 Constructor for cloning p.

Detailed Description

Naive value distinct propagator.

Eliminates values of assigned views of type View.

Requires


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 151 of file val.hpp.

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

Constructor for cloning p.

Definition at line 156 of file val.hpp.


Member Function Documentation

Actor * Gecode::Int::Distinct::Val::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Definition at line 161 of file val.hpp.

ExecStatus Gecode::Int::Distinct::Val::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Definition at line 167 of file val.hpp.

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

Post propagator for view array x.

Definition at line 174 of file val.hpp.


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