Gecode::Int::NValues::LqBool< VY > Class Template Reference
[Integer propagators]
Less or equal to number of values propagator for Boolean views. More...
#include <nvalues.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. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< BoolView > &x, VY y) |
Post propagator for . | |
Protected Member Functions | |
LqBool (Home home, int status, ViewArray< BoolView > &x, VY y) | |
Constructor for posting. | |
LqBool (Space &home, bool share, LqBool< VY > &p) | |
Constructor for cloning p. |
Detailed Description
template<class VY>
class Gecode::Int::NValues::LqBool< VY >
Less or equal to number of values propagator for Boolean views.
Requires
#include <gecode/int/nvalues.hh>
Definition at line 363 of file nvalues.hh.
Constructor & Destructor Documentation
template<class VY >
Gecode::Int::NValues::LqBool< VY >::LqBool | ( | Home | home, | |
int | status, | |||
ViewArray< BoolView > & | x, | |||
VY | y | |||
) | [inline, protected] |
Constructor for posting.
Definition at line 44 of file bool-lq.hpp.
template<class VY >
Gecode::Int::NValues::LqBool< VY >::LqBool | ( | Space & | home, | |
bool | share, | |||
LqBool< VY > & | p | |||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 49 of file bool-lq.hpp.
Member Function Documentation
template<class VY >
Actor * Gecode::Int::NValues::LqBool< VY >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 54 of file bool-lq.hpp.
template<class VY >
ExecStatus Gecode::Int::NValues::LqBool< VY >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class VY >
ExecStatus Gecode::Int::NValues::LqBool< VY >::post | ( | Home | home, | |
ViewArray< BoolView > & | x, | |||
VY | y | |||
) | [inline, static] |
Post propagator for .
The view array x is used only temporarily and hence can be region allocated.
Definition at line 60 of file bool-lq.hpp.
The documentation for this class was generated from the following files:
- gecode/int/nvalues.hh (Revision: 12394)
- gecode/int/nvalues/bool-lq.hpp (Revision: 12288)