Gecode::Int::Rel::Lq< V0, V1 > Class Template Reference
[Integer propagators]
Less or equal propagator. More...
#include <rel.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
template<> | |
bool | same (IntView x0, IntView x1) |
template<> | |
bool | same (BoolView x0, BoolView x1) |
Static Public Member Functions | |
static ExecStatus | post (Home home, V0 x0, V1 x1) |
Post propagator . | |
Protected Member Functions | |
Lq (Space &home, bool share, Lq &p) | |
Constructor for cloning p. | |
Lq (Home home, V0 x0, V1 x1) | |
Constructor for posting. | |
Static Protected Member Functions | |
static bool | same (V0 x0, V1 x1) |
Whether views refer to same variable. |
Detailed Description
template<class V0, class V1>
class Gecode::Int::Rel::Lq< V0, V1 >
Less or equal propagator.
Requires
#include <gecode/int/rel.hh>
Definition at line 497 of file rel.hh.
Constructor & Destructor Documentation
template<class V0 , class V1 >
Gecode::Int::Rel::Lq< V0, V1 >::Lq | ( | Space & | home, | |
bool | share, | |||
Lq< V0, V1 > & | p | |||
) | [inline, protected] |
template<class V0 , class V1 >
Gecode::Int::Rel::Lq< V0, V1 >::Lq | ( | Home | home, | |
V0 | x0, | |||
V1 | x1 | |||
) | [inline, protected] |
Member Function Documentation
template<class V0 , class V1 >
bool Gecode::Int::Rel::Lq< V0, V1 >::same | ( | V0 | x0, | |
V1 | x1 | |||
) | [inline, static, protected] |
template<class V0 , class V1 >
Actor * Gecode::Int::Rel::Lq< V0, V1 >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
template<class V0 , class V1 >
ExecStatus Gecode::Int::Rel::Lq< V0, V1 >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class V0 , class V1 >
ExecStatus Gecode::Int::Rel::Lq< V0, V1 >::post | ( | Home | home, | |
V0 | x0, | |||
V1 | x1 | |||
) | [inline, static] |
template<>
bool Gecode::Int::Rel::Lq< IntView, IntView >::same | ( | IntView | x0, | |
IntView | x1 | |||
) | [inline] |
template<>
bool Gecode::Int::Rel::Lq< BoolView, BoolView >::same | ( | BoolView | x0, | |
BoolView | x1 | |||
) | [inline] |
The documentation for this class was generated from the following files:
- gecode/int/rel.hh (Revision: 15253)
- gecode/int/rel/lq-le.hpp (Revision: 15468)