Gecode::Set::Rel::DistinctDoit< View0 > Class Template Reference
[Set propagators]
#include <rel.hh>
Inherits UnaryPropagator< View0, PC_SET_ANY >.
Detailed Description
template<class View0>
class Gecode::Set::Rel::DistinctDoit< View0 >
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 283 of file rel.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space *home, ModEventDelta med) |
Perform propagation. | |
virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
Specification for this propagator. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, View0, ConstantView) |
Post propagator . | |
static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
Post using specification. | |
static Support::Symbol | ati (void) |
Name of this propagator. | |
Protected Member Functions | |
DistinctDoit (Space *home, bool share, DistinctDoit &) | |
Constructor for cloning p. | |
DistinctDoit (Space *home, View0, ConstantView) | |
Constructor for posting. | |
Protected Attributes | |
ConstantView | y |
The view that is already assigned. |
Constructor & Destructor Documentation
template<class View0>
Gecode::Set::Rel::DistinctDoit< View0 >::DistinctDoit | ( | Space * | home, | |
bool | share, | |||
DistinctDoit< View0 > & | p | |||
) | [inline, protected] |
template<class View0>
Gecode::Set::Rel::DistinctDoit< View0 >::DistinctDoit | ( | Space * | home, | |
View0 | _x, | |||
ConstantView | _y | |||
) | [inline, protected] |
Member Function Documentation
template<class View0>
Actor * Gecode::Set::Rel::DistinctDoit< View0 >::copy | ( | Space * | home, | |
bool | share | |||
) | [inline, virtual] |
template<class View0>
ExecStatus Gecode::Set::Rel::DistinctDoit< View0 >::propagate | ( | Space * | home, | |
ModEventDelta | med | |||
) | [inline, virtual] |
template<class View0>
ExecStatus Gecode::Set::Rel::DistinctDoit< View0 >::post | ( | Space * | home, | |
View0 | x, | |||
ConstantView | y | |||
) | [inline, static] |
template<class View0>
Reflection::ActorSpec Gecode::Set::Rel::DistinctDoit< View0 >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [inline, virtual] |
template<class View0>
void Gecode::Set::Rel::DistinctDoit< View0 >::post | ( | Space * | home, | |
Reflection::VarMap & | vars, | |||
const Reflection::ActorSpec & | spec | |||
) | [inline, static] |
template<class View0>
Support::Symbol Gecode::Set::Rel::DistinctDoit< View0 >::ati | ( | void | ) | [inline, static] |
Member Data Documentation
template<class View0>
ConstantView Gecode::Set::Rel::DistinctDoit< View0 >::y [protected] |
The documentation for this class was generated from the following files:
- gecode/set/rel.hh (Revision: 5993)
- gecode/set/rel/nq.icc (Revision: 6017)