Gecode::Int::Rel::LexNq< View > Class Template Reference
[Integer propagators]
Lexical 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, ViewArray< View > &y) |
Post propagator ![]() | |
Protected Member Functions | |
ExecStatus | resubscribe (Space &home, RelTest rt, View &x0, View &y0, View x1, View y1) |
Update subscription. | |
LexNq (Home home, ViewArray< View > &x, ViewArray< View > &y) | |
Constructor for posting. | |
LexNq (Space &home, bool share, LexNq< View > &p) | |
Constructor for cloning p. | |
Protected Attributes | |
View | x0 |
Views currently subscribed to. | |
View | y0 |
View | x1 |
View | y1 |
ViewArray< View > | x |
Views not yet subscribed to. | |
ViewArray< View > | y |
Detailed Description
template<class View>
class Gecode::Int::Rel::LexNq< View >
Lexical disequality propagator.
Requires
#include <gecode/int/rel.hh>
Definition at line 628 of file rel.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Rel::LexNq< View >::LexNq | ( | Home | home, | |
ViewArray< View > & | x, | |||
ViewArray< View > & | y | |||
) | [inline, protected] |
template<class View >
Gecode::Int::Rel::LexNq< View >::LexNq | ( | Space & | home, | |
bool | share, | |||
LexNq< View > & | p | |||
) | [inline, protected] |
Member Function Documentation
template<class View >
ExecStatus Gecode::Int::Rel::LexNq< View >::resubscribe | ( | Space & | home, | |
RelTest | rt, | |||
View & | x0, | |||
View & | y0, | |||
View | x1, | |||
View | y1 | |||
) | [inline, protected] |
template<class View >
Actor * Gecode::Int::Rel::LexNq< View >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
template<class View >
PropCost Gecode::Int::Rel::LexNq< View >::cost | ( | const Space & | home, | |
const ModEventDelta & | med | |||
) | const [inline, virtual] |
template<class View >
ExecStatus Gecode::Int::Rel::LexNq< View >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class View >
ExecStatus Gecode::Int::Rel::LexNq< View >::post | ( | Home | home, | |
ViewArray< View > & | x, | |||
ViewArray< View > & | y | |||
) | [inline, static] |
template<class View >
size_t Gecode::Int::Rel::LexNq< View >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Member Data Documentation
template<class View>
View Gecode::Int::Rel::LexNq< View >::x0 [protected] |
template<class View>
View Gecode::Int::Rel::LexNq< View >::y0 [protected] |
template<class View>
View Gecode::Int::Rel::LexNq< View >::x1 [protected] |
template<class View>
View Gecode::Int::Rel::LexNq< View >::y1 [protected] |
template<class View>
ViewArray<View> Gecode::Int::Rel::LexNq< View >::x [protected] |
template<class View>
ViewArray<View> Gecode::Int::Rel::LexNq< View >::y [protected] |
The documentation for this class was generated from the following files:
- gecode/int/rel.hh (Revision: 12472)
- gecode/int/rel/lex.hpp (Revision: 12163)