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