Gecode::Int::Linear::LqBool< View > Class Template Reference
[Integer propagators]
#include <linear.hh>
Inherits Gecode::Int::Linear::LinBool< View >< View >.
Detailed Description
template<class View>
class Gecode::Int::Linear::LqBool< View >
Propagator for less or equal to Boolean sum (cardinality)
Requires
#include "gecode/int/linear.hh"
Definition at line 843 of file linear.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Create copy during cloning. | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, ViewArray< BoolView > &x, int n, View y) |
Post propagator for ![]() | |
Protected Member Functions | |
LqBool (Space *home, bool share, LqBool &p) | |
Constructor for cloning p. | |
LqBool (Space *home, ViewArray< BoolView > &x, int n, View y) | |
Constructor for creation. |
Constructor & Destructor Documentation
template<class View>
Gecode::Int::Linear::LqBool< View >::LqBool | ( | Space * | home, | |
bool | share, | |||
LqBool< View > & | p | |||
) | [protected] |
Constructor for cloning p.
template<class View>
Gecode::Int::Linear::LqBool< View >::LqBool | ( | Space * | home, | |
ViewArray< BoolView > & | x, | |||
int | n, | |||
View | y | |||
) | [inline, protected] |
Member Function Documentation
template<class View>
Actor * Gecode::Int::Linear::LqBool< View >::copy | ( | Space * | home, | |
bool | share | |||
) | [virtual] |
template<class View>
ExecStatus Gecode::Int::Linear::LqBool< View >::propagate | ( | Space * | home | ) | [virtual] |
template<class View>
ExecStatus Gecode::Int::Linear::LqBool< View >::post | ( | Space * | home, | |
ViewArray< BoolView > & | x, | |||
int | n, | |||
View | y | |||
) | [static] |
The documentation for this class was generated from the following files:
- gecode/int/linear.hh (Revision: 3309)
- gecode/int/linear/bool.icc (Revision: 3309)