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

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

#include <distinct.hh>

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


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 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 Support::Symbol ati (void)
 Name of this propagator.
static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post propagator for specification.
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 154 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 159 of file val.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 164 of file val.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 182 of file val.icc.

template<class View>
Reflection::ActorSpec Gecode::Int::Distinct::Val< View >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 176 of file val.icc.

template<class View>
Support::Symbol Gecode::Int::Distinct::Val< View >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 170 of file val.icc.

template<class View>
void Gecode::Int::Distinct::Val< View >::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [inline, static]

Post propagator for specification.

Definition at line 199 of file val.icc.

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

Post propagator for view array x.

Definition at line 189 of file val.icc.


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