Gecode::Int::Bool::NaryEq< BV > Class Template Reference
[Integer propagators]
#include <bool.hh>
Inherits NaryPropagator< BV, PC_BOOL_VAL >.
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 147 of file bool.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Copy propagator during cloning. | |
virtual PropCost | cost (ModEventDelta med) const |
Cost function (defined as PC_UNARY_LO). | |
virtual ExecStatus | propagate (Space *home, ModEventDelta med) |
Perform propagation. | |
virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
Specification for this propagator. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, ViewArray< BV > &x) |
Post propagator . | |
static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
Post propagator for specification. | |
static Support::Symbol | ati (void) |
Name of this propagator. | |
Protected Member Functions | |
NaryEq (Space *home, ViewArray< BV > &x) | |
Constructor for posting. | |
NaryEq (Space *home, bool share, NaryEq &p) | |
Constructor for cloning p. |
Constructor & Destructor Documentation
template<class BV>
Gecode::Int::Bool::NaryEq< BV >::NaryEq | ( | Space * | 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 | ( | ModEventDelta | med | ) | const [inline, virtual] |
Cost function (defined as PC_UNARY_LO).
Reimplemented from Gecode::NaryPropagator< BV, PC_BOOL_VAL >.
template<class BV>
ExecStatus Gecode::Int::Bool::NaryEq< BV >::propagate | ( | Space * | home, | |
ModEventDelta | med | |||
) | [inline, virtual] |
template<class BV>
ExecStatus Gecode::Int::Bool::NaryEq< BV >::post | ( | Space * | home, | |
ViewArray< BV > & | x | |||
) | [inline, static] |
template<class BV>
void Gecode::Int::Bool::NaryEq< BV >::post | ( | Space * | home, | |
Reflection::VarMap & | vars, | |||
const Reflection::ActorSpec & | spec | |||
) | [inline, static] |
template<class BV>
Reflection::ActorSpec Gecode::Int::Bool::NaryEq< BV >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [inline, virtual] |
template<class BV>
Support::Symbol Gecode::Int::Bool::NaryEq< BV >::ati | ( | void | ) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/bool.hh (Revision: 5993)
- gecode/int/bool/eq.icc (Revision: 6017)