Gecode::Int::Rel::NaryNq< View > Class Template Reference
[Integer propagators]
Nary 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. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< View > &x) |
Post propagator . | |
Protected Member Functions | |
NaryNq (Home home, ViewArray< View > &x) | |
Constructor for posting. | |
NaryNq (Space &home, bool share, NaryNq< View > &p) | |
Constructor for cloning p. |
Detailed Description
template<class View>
class Gecode::Int::Rel::NaryNq< View >
Nary disequality propagator.
Requires
#include <gecode/int/rel.hh>
Definition at line 322 of file rel.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Rel::NaryNq< View >::NaryNq | ( | Home | home, | |
ViewArray< View > & | x | |||
) | [inline, protected] |
template<class View >
Gecode::Int::Rel::NaryNq< View >::NaryNq | ( | Space & | home, | |
bool | share, | |||
NaryNq< View > & | p | |||
) | [inline, protected] |
Member Function Documentation
template<class View >
Actor * Gecode::Int::Rel::NaryNq< View >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
template<class View >
PropCost Gecode::Int::Rel::NaryNq< View >::cost | ( | const Space & | home, | |
const ModEventDelta & | med | |||
) | const [inline, virtual] |
Cost function.
Reimplemented from Gecode::NaryPropagator< View, PC_INT_VAL >.
template<class View >
ExecStatus Gecode::Int::Rel::NaryNq< View >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class View >
ExecStatus Gecode::Int::Rel::NaryNq< View >::post | ( | Home | home, | |
ViewArray< View > & | x | |||
) | [inline, static] |
template<class View >
size_t Gecode::Int::Rel::NaryNq< View >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::NaryPropagator< View, PC_INT_VAL >.
The documentation for this class was generated from the following files:
- gecode/int/rel.hh (Revision: 15253)
- gecode/int/rel/nq.hpp (Revision: 15253)