Gecode::Set::Rel::DistinctDoit< View0, View1 > Class Template Reference
[Set propagators]
#include <rel.hh>
Inherits Gecode::UnaryPropagator< View0, PC_SET_ANY >.
Detailed Description
template<class View0, class View1>
class Gecode::Set::Rel::DistinctDoit< View0, View1 >
Propagator for negated equality
This propagator actually propagates the distinctness, after the Distinct propagator waited for one variable to become assigned.
Requires
#include "gecode/set/rel.hh"
Definition at line 220 of file rel.hh.
Public Member Functions | |
| virtual Actor * | copy (Space *home, bool) |
| Copy propagator during cloning. | |
| virtual ExecStatus | propagate (Space *home) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Space *home, View0, View1) |
Post propagator . | |
Protected Member Functions | |
| DistinctDoit (Space *home, bool share, DistinctDoit &) | |
| Constructor for cloning p. | |
| DistinctDoit (Space *home, View0, View1) | |
| Constructor for posting. | |
Protected Attributes | |
| View1 | y |
| The view that is already assigned. | |
Constructor & Destructor Documentation
template<class View0, class View1>
| Gecode::Set::Rel::DistinctDoit< View0, View1 >::DistinctDoit | ( | Space * | home, | |
| bool | share, | |||
| DistinctDoit< View0, View1 > & | ||||
| ) | [protected] |
Constructor for cloning p.
template<class View0, class View1>
| Gecode::Set::Rel::DistinctDoit< View0, View1 >::DistinctDoit | ( | Space * | home, | |
| View0 | , | |||
| View1 | ||||
| ) | [inline, protected] |
Member Function Documentation
template<class View0, class View1>
| Actor * Gecode::Set::Rel::DistinctDoit< View0, View1 >::copy | ( | Space * | home, | |
| bool | ||||
| ) | [virtual] |
template<class View0, class View1>
| ExecStatus Gecode::Set::Rel::DistinctDoit< View0, View1 >::propagate | ( | Space * | home | ) | [virtual] |
template<class View0, class View1>
| ExecStatus Gecode::Set::Rel::DistinctDoit< View0, View1 >::post | ( | Space * | home, | |
| View0 | , | |||
| View1 | ||||
| ) | [static] |
Member Data Documentation
template<class View0, class View1>
View1 Gecode::Set::Rel::DistinctDoit< View0, View1 >::y [protected] |
The documentation for this class was generated from the following files:
- gecode/set/rel.hh (Revision: 3246)
- gecode/set/rel/nq.icc (Revision: 2096)

.