Gecode::Int::Distinct::TerDom< View > Class Template Reference
[Integer propagators]
Ternary domain consistent distinct propagator. More...
#include <distinct.hh>
Public Member Functions | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
Static Public Member Functions | |
static ExecStatus | post (Home 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 (Home home, View x0, View x1, View x2) | |
Constructor for posting. |
Detailed Description
template<class View>
class Gecode::Int::Distinct::TerDom< View >
Ternary domain consistent distinct propagator.
Requires
#include <gecode/int/distinct.hh>
Definition at line 285 of file distinct.hh.
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 60 of file ter-dom.hpp.
template<class View >
Gecode::Int::Distinct::TerDom< View >::TerDom | ( | Home | home, | |
View | x0, | |||
View | x1, | |||
View | x2 | |||
) | [inline, protected] |
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 | |||
) | [inline, virtual] |
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 65 of file ter-dom.hpp.
template<class View >
ExecStatus Gecode::Int::Distinct::TerDom< View >::post | ( | Home | home, | |
View | x0, | |||
View | x1, | |||
View | x2 | |||
) | [inline, 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:
- gecode/int/distinct.hh (Revision: 15137)
- gecode/int/distinct/ter-dom.hpp (Revision: 10364)