Gecode::Int::Distinct::TerDom< View > Class Template Reference
[Integer propagators]
#include <distinct.hh>
Inherits 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 304 of file distinct.hh.
Public Member Functions | |
| virtual ExecStatus | propagate (Space *home, ModEventDelta med) |
| Perform propagation. | |
| virtual Actor * | copy (Space *home, bool share) |
| Copy propagator during cloning. | |
| virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
| Specification for this propagator. | |
Static Public Member Functions | |
| static Support::Symbol | ati (void) |
| Name of this propagator. | |
| static ExecStatus | post (Space *home, View x0, View x1, View x2) |
| Post propagator for views x. | |
| static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
| Post propagator for specification. | |
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, | |
| 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 76 of file ter-dom.icc.
template<class View>
| Reflection::ActorSpec Gecode::Int::Distinct::TerDom< View >::spec | ( | const Space * | home, | |
| Reflection::VarMap & | m | |||
| ) | const [inline, virtual] |
Specification for this propagator.
Reimplemented from Gecode::Actor.
Definition at line 88 of file ter-dom.icc.
template<class View>
| Support::Symbol Gecode::Int::Distinct::TerDom< View >::ati | ( | void | ) | [inline, static] |
template<class View>
| ExecStatus Gecode::Int::Distinct::TerDom< View >::post | ( | Space * | home, | |
| View | x0, | |||
| View | x1, | |||
| View | x2 | |||
| ) | [inline, static] |
template<class View>
| void Gecode::Int::Distinct::TerDom< View >::post | ( | Space * | home, | |
| Reflection::VarMap & | vars, | |||
| const Reflection::ActorSpec & | spec | |||
| ) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/distinct.hh (Revision: 7285)
- gecode/int/distinct/ter-dom.icc (Revision: 7285)
