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

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

#include <distinct.hh>

Inherits Gecode::NaryPropagator< View, PC_INT_VAL >.

List of all members.


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 51 of file distinct.hh.

Public Member Functions

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

Static Public Member Functions

static ExecStatus post (Space *home, ViewArray< View > &x)
 Post propagator for view array x.

Protected Member Functions

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


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 138 of file val.icc.

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

Constructor for cloning p.

Definition at line 143 of file val.icc.


Member Function Documentation

template<class View>
Actor * Gecode::Int::Distinct::Val< View >::copy Space home,
bool  share
[virtual]
 

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 148 of file val.icc.

template<class View>
ExecStatus Gecode::Int::Distinct::Val< View >::propagate Space home  )  [virtual]
 

Perform propagation.

Implements Gecode::Propagator.

Definition at line 154 of file val.icc.

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

Post propagator for view array x.

Definition at line 160 of file val.icc.


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