Generated on Fri Aug 24 2012 04:52:29 for Gecode by doxygen 1.8.1.1
Gecode::Int::Bool::NaryEq< BV > Class Template Reference

n-ary Boolean equality propagator More...

#include <bool.hh>

List of all members.

Public Member Functions

virtual Actorcopy (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.
- Public Member Functions inherited from Gecode::NaryPropagator< BV, PC_BOOL_VAL >
virtual size_t dispose (Space &home)
 Delete propagator and return its size.
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta.
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function.
double afc (void) const
 Return the accumlated failure count.

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, bool share, NaryEq &p)
 Constructor for cloning p.
- Protected Member Functions inherited from Gecode::NaryPropagator< BV, PC_BOOL_VAL >
 NaryPropagator (Space &home, bool share, NaryPropagator &p)
 Constructor for cloning p.
 NaryPropagator (Space &home, bool share, Propagator &p, ViewArray< BV > &x)
 Constructor for rewriting p during cloning.
 NaryPropagator (Home home, ViewArray< BV > &x)
 Constructor for creation.
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting.
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p.

Additional Inherited Members

- Protected Attributes inherited from Gecode::NaryPropagator< BV, PC_BOOL_VAL >
ViewArray< BV > x
 Array of views.

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 
)
inlineprotected

Constructor for posting.

Definition at line 119 of file eq.hpp.

template<class BV >
Gecode::Int::Bool::NaryEq< BV >::NaryEq ( Space home,
bool  share,
NaryEq< BV > &  p 
)
inlineprotected

Constructor for cloning p.

Definition at line 124 of file eq.hpp.


Member Function Documentation

template<class BV >
Actor * Gecode::Int::Bool::NaryEq< BV >::copy ( Space home,
bool  share 
)
virtual

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 129 of file eq.hpp.

template<class BV >
PropCost Gecode::Int::Bool::NaryEq< BV >::cost ( const Space home,
const ModEventDelta med 
) const
virtual

Cost function (defined as low unary)

Reimplemented from Gecode::NaryPropagator< BV, PC_BOOL_VAL >.

Definition at line 163 of file eq.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 169 of file eq.hpp.

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

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

Definition at line 135 of file eq.hpp.


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