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