Gecode::Int::Rel::Nq< View > Class Template Reference
[Integer propagators]
#include <rel.hh>
Inherits Gecode::BinaryPropagator< View, PC_INT_VAL >.
Detailed Description
template<class View>
class Gecode::Int::Rel::Nq< View >
Binary disequality propagator.
Requires
#include "gecode/int/rel.hh"
Definition at line 300 of file rel.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Copy propagator during cloning. | |
virtual PropCost | cost (void) const |
Cost function (defined as PC_UNARY_LO). | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, View x0, View x1) |
Post propagator ![]() | |
Protected Member Functions | |
Nq (Space *home, bool share, Nq< View > &p) | |
Constructor for cloning p. | |
Nq (Space *home, View x0, View x1) | |
Constructor for posting. |
Constructor & Destructor Documentation
template<class View>
Gecode::Int::Rel::Nq< View >::Nq | ( | Space * | home, | |
bool | share, | |||
Nq< View > & | p | |||
) | [inline, protected] |
template<class View>
Gecode::Int::Rel::Nq< View >::Nq | ( | Space * | home, | |
View | x0, | |||
View | x1 | |||
) | [inline, protected] |
Member Function Documentation
template<class View>
Actor * Gecode::Int::Rel::Nq< View >::copy | ( | Space * | home, | |
bool | share | |||
) | [virtual] |
template<class View>
PropCost Gecode::Int::Rel::Nq< View >::cost | ( | void | ) | const [virtual] |
Cost function (defined as PC_UNARY_LO).
Reimplemented from Gecode::BinaryPropagator< View, PC_INT_VAL >.
template<class View>
ExecStatus Gecode::Int::Rel::Nq< View >::propagate | ( | Space * | home | ) | [virtual] |
template<class View>
ExecStatus Gecode::Int::Rel::Nq< View >::post | ( | Space * | home, | |
View | x0, | |||
View | x1 | |||
) | [static] |
The documentation for this class was generated from the following files:
- gecode/int/rel.hh (Revision: 3279)
- gecode/int/rel/nq.icc (Revision: 2420)