Gecode::Int::Bool::NaryEq< BV > Class Template Reference
[Integer propagators]
n-ary Boolean equality propagator More...
#include <bool.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 (defined as low unary). | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< BV > &x) |
Post propagator . | |
Protected Member Functions | |
NaryEq (Home home, ViewArray< BV > &x) | |
Constructor for posting. | |
NaryEq (Space &home, bool share, NaryEq &p) | |
Constructor for cloning p. |
Detailed Description
template<class BV>
class Gecode::Int::Bool::NaryEq< BV >
n-ary Boolean equality propagator
Requires
#include <gecode/int/bool.hh>
Definition at line 137 of file bool.hh.
Constructor & Destructor Documentation
template<class BV >
Gecode::Int::Bool::NaryEq< BV >::NaryEq | ( | Home | home, | |
ViewArray< BV > & | x | |||
) | [inline, protected] |
template<class BV >
Gecode::Int::Bool::NaryEq< BV >::NaryEq | ( | Space & | home, | |
bool | share, | |||
NaryEq< BV > & | p | |||
) | [inline, protected] |
Member Function Documentation
template<class BV >
Actor * Gecode::Int::Bool::NaryEq< BV >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
template<class BV >
PropCost Gecode::Int::Bool::NaryEq< BV >::cost | ( | const Space & | home, | |
const ModEventDelta & | med | |||
) | const [inline, virtual] |
Cost function (defined as low unary).
Reimplemented from Gecode::NaryPropagator< BV, PC_BOOL_VAL >.
template<class BV >
ExecStatus Gecode::Int::Bool::NaryEq< BV >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class BV >
ExecStatus Gecode::Int::Bool::NaryEq< BV >::post | ( | Home | home, | |
ViewArray< BV > & | x | |||
) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/bool.hh (Revision: 15137)
- gecode/int/bool/eq.hpp (Revision: 13068)