Gecode::Int::Distinct::TerDom< View > Class Template Reference
[Integer propagators]
#include <distinct.hh>
Inherits Gecode::TernaryPropagator< View, PC_INT_DOM >.
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 243 of file distinct.hh.
Public Member Functions | |
| virtual ExecStatus | propagate (Space *home) |
| Perform propagation. | |
| virtual Actor * | copy (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] |
template<class View>
| Gecode::Int::Distinct::TerDom< View >::TerDom | ( | Space * | home, | |
| View | x0, | |||
| View | x1, | |||
| View | x2 | |||
| ) | [inline, protected] |
Member Function Documentation
template<class View>
| ExecStatus Gecode::Int::Distinct::TerDom< View >::propagate | ( | Space * | home | ) | [virtual] |
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] |
The documentation for this class was generated from the following files:
- gecode/int/distinct.hh (Revision: 3768)
- gecode/int/distinct/ter-dom.icc (Revision: 3446)
