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

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

#include <distinct.hh>

Inherits Gecode::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 243 of file distinct.hh.

Public Member Functions

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

Static Public Member Functions

static ExecStatus post (Space *home, View x0, View x1, View x2)
 Post propagator for views x.

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 44 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 32 of file ter-dom.icc.


Member Function Documentation

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

Perform propagation.

Implements Gecode::Propagator.

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

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

Copy propagator during cloning.

Implements Gecode::Actor.

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

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

Post propagator for views x.

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


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