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

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

#include <distinct.hh>

Inherits TernaryPropagator< View, PC_INT_DOM >.

List of all members.


Detailed Description

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

Ternary domain consistent distinct propagator.

Requires

Definition at line 304 of file distinct.hh.


Public Member Functions

virtual ExecStatus propagate (Space *home, ModEventDelta med)
 Perform propagation.
virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
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 ExecStatus post (Space *home, View x0, View x1, View x2)
 Post propagator for views x.
static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post propagator for specification.

Protected Member Functions

 TerDom (Space *home, bool share, TerDom< View > &p)
 Constructor for cloning p.
 TerDom (Space *home, View x0, View x1, View x2)
 Constructor for posting.

Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 71 of file ter-dom.icc.

template<class View>
Gecode::Int::Distinct::TerDom< View >::TerDom ( Space home,
View  x0,
View  x1,
View  x2 
) [inline, protected]

Constructor for posting.

Definition at line 48 of file ter-dom.icc.


Member Function Documentation

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 120 of file ter-dom.icc.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 76 of file ter-dom.icc.

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

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 88 of file ter-dom.icc.

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

Name of this propagator.

Definition at line 82 of file ter-dom.icc.

template<class View>
ExecStatus Gecode::Int::Distinct::TerDom< View >::post ( Space home,
View  x0,
View  x1,
View  x2 
) [inline, static]

Post propagator for views x.

Definition at line 53 of file ter-dom.icc.

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

Post propagator for specification.

Definition at line 60 of file ter-dom.icc.


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