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) |
| 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, 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 322 of file distinct.hh.
Constructor & Destructor Documentation
template<class View >
| Gecode::Int::Distinct::TerDom< View >::TerDom | ( | Space & | home, | |
| TerDom< View > & | p | |||
| ) | [inline, protected] |
Constructor for cloning p.
Definition at line 56 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 44 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 | ) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 61 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 49 of file ter-dom.hpp.
The documentation for this class was generated from the following files:
- gecode/int/distinct.hh
- gecode/int/distinct/ter-dom.hpp
