Generated on Fri Oct 19 11:26:06 2018 for Gecode by doxygen 1.6.3

Gecode::Int::Bool::NaryEq< BV > Class Template Reference
[Integer propagators]

n-ary Boolean equality propagator More...

#include <bool.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home)
 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 $ x_0 = x_1=\ldots =x_{|x|-1}$.

Protected Member Functions

 NaryEq (Home home, ViewArray< BV > &x)
 Constructor for posting.
 NaryEq (Space &home, 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 133 of file bool.hh.


Constructor & Destructor Documentation

template<class BV >
Gecode::Int::Bool::NaryEq< BV >::NaryEq ( Home  home,
ViewArray< BV > &  x 
) [inline, protected]

Constructor for posting.

Definition at line 115 of file eq.hpp.

template<class BV >
Gecode::Int::Bool::NaryEq< BV >::NaryEq ( Space home,
NaryEq< BV > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 120 of file eq.hpp.


Member Function Documentation

template<class BV >
Actor * Gecode::Int::Bool::NaryEq< BV >::copy ( Space home  )  [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 125 of file eq.hpp.

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 >.

Definition at line 159 of file eq.hpp.

template<class BV >
ExecStatus Gecode::Int::Bool::NaryEq< BV >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 165 of file eq.hpp.

template<class BV >
ExecStatus Gecode::Int::Bool::NaryEq< BV >::post ( Home  home,
ViewArray< BV > &  x 
) [inline, static]

Post propagator $ x_0 = x_1=\ldots =x_{|x|-1}$.

Definition at line 131 of file eq.hpp.


The documentation for this class was generated from the following files: