Gecode::Int::Bool::NaryOrTrue< View > Class Template Reference
[Integer propagators]
#include <bool.hh>
Inherits Gecode::BinaryPropagator< View, PC_INT_VAL >.
Detailed Description
template<class View>
class Gecode::Int::Bool::NaryOrTrue< View >
Boolean n-ary disjunction propagator (true).
Requires
#include "gecode/int/bool.hh"
Definition at line 196 of file bool.hh.
Public Member Functions | |
| virtual Actor * | copy (Space *home, bool share) |
| Copy propagator during cloning. | |
| virtual PropCost | cost (void) const |
| Cost function (defined as PC_LINEAR_LO). | |
| virtual ExecStatus | propagate (Space *home) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Space *home, ViewArray< View > &b) |
Post propagator . | |
Protected Member Functions | |
| ExecStatus | resubscribe (Space *home, View &x0, View x1) |
| Update subscription. | |
| NaryOrTrue (Space *home, ViewArray< View > &b) | |
| Constructor for posting. | |
| NaryOrTrue (Space *home, bool share, NaryOrTrue< View > &p) | |
| Constructor for cloning p. | |
Protected Attributes | |
| ViewArray< View > | x |
| Views not yet subscribed to. | |
Constructor & Destructor Documentation
template<class View>
| Gecode::Int::Bool::NaryOrTrue< View >::NaryOrTrue | ( | Space * | home, | |
| ViewArray< View > & | b | |||
| ) | [inline, protected] |
template<class View>
| Gecode::Int::Bool::NaryOrTrue< View >::NaryOrTrue | ( | Space * | home, | |
| bool | share, | |||
| NaryOrTrue< View > & | p | |||
| ) | [inline, protected] |
Member Function Documentation
template<class View>
| ExecStatus Gecode::Int::Bool::NaryOrTrue< View >::resubscribe | ( | Space * | home, | |
| View & | x0, | |||
| View | x1 | |||
| ) | [inline, protected] |
template<class View>
| Actor * Gecode::Int::Bool::NaryOrTrue< View >::copy | ( | Space * | home, | |
| bool | share | |||
| ) | [virtual] |
template<class View>
| PropCost Gecode::Int::Bool::NaryOrTrue< View >::cost | ( | void | ) | const [virtual] |
Cost function (defined as PC_LINEAR_LO).
Reimplemented from Gecode::BinaryPropagator< View, PC_INT_VAL >.
template<class View>
| ExecStatus Gecode::Int::Bool::NaryOrTrue< View >::propagate | ( | Space * | home | ) | [virtual] |
template<class View>
| ExecStatus Gecode::Int::Bool::NaryOrTrue< View >::post | ( | Space * | home, | |
| ViewArray< View > & | b | |||
| ) | [inline, static] |
Member Data Documentation
template<class View>
ViewArray<View> Gecode::Int::Bool::NaryOrTrue< View >::x [protected] |
The documentation for this class was generated from the following files:
- gecode/int/bool.hh (Revision: 3600)
- gecode/int/bool/or.icc (Revision: 3646)

.