Generated on Tue Mar 5 2013 22:37:45 for Gecode by doxygen 1.8.3.1
Gecode::Int::Distinct::TerDom< View > Class Template Reference

Ternary domain consistent distinct propagator. More...

#include <distinct.hh>

Public Member Functions

virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation. More...
 
virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning. More...
 
- Public Member Functions inherited from Gecode::TernaryPropagator< View, PC_INT_DOM >
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low ternary) More...
 
virtual size_t dispose (Space &home)
 Delete propagator and return its size. More...
 
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta. More...
 
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function. More...
 
double afc (void) const
 Return the accumlated failure count. More...
 

Static Public Member Functions

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

Protected Member Functions

 TerDom (Space &home, bool share, TerDom< View > &p)
 Constructor for cloning p. More...
 
 TerDom (Home home, View x0, View x1, View x2)
 Constructor for posting. More...
 
- Protected Member Functions inherited from Gecode::TernaryPropagator< View, PC_INT_DOM >
 TernaryPropagator (Space &home, bool share, TernaryPropagator &p)
 Constructor for cloning p. More...
 
 TernaryPropagator (Home home, View x0, View x1, View x2)
 Constructor for creation. More...
 
 TernaryPropagator (Space &home, bool share, Propagator &p, View x0, View x1, View x2)
 Constructor for rewriting p during cloning. More...
 
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting. More...
 
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p. More...
 

Additional Inherited Members

- Protected Attributes inherited from Gecode::TernaryPropagator< View, PC_INT_DOM >
View x0
 Three views. More...
 
View x1
 
View x2
 

Detailed Description

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

Ternary domain consistent distinct propagator.

Requires

Definition at line 283 of file distinct.hh.

Constructor & Destructor Documentation

template<class View >
Gecode::Int::Distinct::TerDom< View >::TerDom ( Space home,
bool  share,
TerDom< View > &  p 
)
inlineprotected

Constructor for cloning p.

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

template<class View >
Gecode::Int::Distinct::TerDom< View >::TerDom ( Home  home,
View  x0,
View  x1,
View  x2 
)
inlineprotected

Constructor for posting.

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

Member Function Documentation

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 97 of file ter-dom.hpp.

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 65 of file ter-dom.hpp.

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

Post propagator for views x.

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


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