
Propagator for negated equality More...
#include <rel.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home, bool) |
| Copy propagator during cloning. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, View0, ConstSetView) |
Post propagator . | |
Protected Member Functions | |
| DistinctDoit (Space &home, bool share, DistinctDoit &) | |
| Constructor for cloning p. | |
| DistinctDoit (Home home, View0, ConstSetView) | |
| Constructor for posting. | |
Protected Attributes | |
| ConstSetView | y |
| The view that is already assigned. | |
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>
| Gecode::Set::Rel::DistinctDoit::DistinctDoit | ( | Space & | home, |
| bool | share, | ||
| DistinctDoit & | |||
| ) | [protected] |
Constructor for cloning p.
| Gecode::Set::Rel::DistinctDoit::DistinctDoit | ( | Home | home, |
| View0 | _x, | ||
| ConstSetView | _y | ||
| ) | [inline, protected] |
| ExecStatus Gecode::Set::Rel::DistinctDoit::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| ExecStatus Gecode::Set::Rel::DistinctDoit::post | ( | Home | home, |
| View0 | x, | ||
| ConstSetView | y | ||
| ) | [static] |
ConstSetView Gecode::Set::Rel::DistinctDoit::y [protected] |