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 |
Lexical disequality propagator.
Requires
#include <gecode/int/rel.hh>
Gecode::Int::Rel::LexNq< View >::LexNq | ( | Home | home, |
ViewArray< View > & | x, | ||
ViewArray< View > & | y | ||
) | [inline, protected] |
Gecode::Int::Rel::LexNq< View >::LexNq | ( | Space & | home, |
bool | share, | ||
LexNq< View > & | p | ||
) | [inline, protected] |
ExecStatus Gecode::Int::Rel::LexNq< View >::resubscribe | ( | Space & | home, |
RelTest | rt, | ||
View & | x0, | ||
View & | y0, | ||
View | x1, | ||
View | y1 | ||
) | [inline, protected] |
Actor * Gecode::Int::Rel::LexNq< View >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
PropCost Gecode::Int::Rel::LexNq< View >::cost | ( | const Space & | home, |
const ModEventDelta & | med | ||
) | const [virtual] |
ExecStatus Gecode::Int::Rel::LexNq< View >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Int::Rel::LexNq< View >::post | ( | Home | home, |
ViewArray< View > & | x, | ||
ViewArray< View > & | y | ||
) | [inline, static] |
size_t Gecode::Int::Rel::LexNq< View >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
View Gecode::Int::Rel::LexNq< View >::x0 [protected] |
View Gecode::Int::Rel::LexNq< View >::y0 [protected] |
View Gecode::Int::Rel::LexNq< View >::x1 [protected] |
View Gecode::Int::Rel::LexNq< View >::y1 [protected] |
ViewArray<View> Gecode::Int::Rel::LexNq< View >::x [protected] |
ViewArray<View> Gecode::Int::Rel::LexNq< View >::y [protected] |