Generated on Mon Aug 25 11:35:49 2008 for Gecode by doxygen 1.5.6

Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 > Class Template Reference
[CpltSet propagators]

#include <propagators.hh>

Inherits MixNaryOnePropagator< View0, PC_CPLTSET_DOM, View1, PC_CPLTSET_DOM >.

List of all members.


Detailed Description

template<class View0, class View1>
class Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >

Propagator for CpltSet variables with n+1 arguments.

Propagates a constraint specified as a bdd.

Requires

Definition at line 180 of file propagators.hh.


Public Member Functions

virtual Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m) const
 Specification for this propagator.
virtual size_t dispose (Space *home)
 Delete propagator.
virtual Actorcopy (Space *home, bool)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home, ModEventDelta med)
 Perform propagation.

Static Public Member Functions

static Support::Symbol ati (void)
 Name of this propagator.
static ExecStatus post (Space *home, ViewArray< View0 > &x, View1 &y, bdd &d)

Protected Types

typedef MixNaryOnePropagator
< View0, PC_CPLTSET_DOM, View1,
PC_CPLTSET_DOM > 
Super

Protected Member Functions

 NaryOneCpltSetPropagator (Space *home, bool share, NaryOneCpltSetPropagator &p)
 Constructor for cloning p.
 NaryOneCpltSetPropagator (Space *home, ViewArray< View0 > &, View1 &, bdd &)
 Constructor for posting.
ExecStatus divide_conquer (Space *home, bdd &p, int l, int r, int ypos)
 Divide and conquer method including additional view y.

Protected Attributes

bdd d
 Bdd representation of the constraint.

Member Typedef Documentation

template<class View0, class View1>
typedef MixNaryOnePropagator<View0, PC_CPLTSET_DOM, View1, PC_CPLTSET_DOM> Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::Super [protected]

Definition at line 184 of file propagators.hh.


Constructor & Destructor Documentation

template<class View0, class View1>
Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::NaryOneCpltSetPropagator ( Space home,
bool  share,
NaryOneCpltSetPropagator< View0, View1 > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 53 of file naryone.icc.

template<class View0, class View1>
Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::NaryOneCpltSetPropagator ( Space home,
ViewArray< View0 > &  x,
View1 &  y,
bdd &  d0 
) [inline, protected]

Constructor for posting.

Definition at line 45 of file naryone.icc.


Member Function Documentation

template<class View0, class View1>
ExecStatus Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::divide_conquer ( Space home,
bdd &  p,
int  l,
int  r,
int  ypos 
) [inline, protected]

Divide and conquer method including additional view y.

Definition at line 88 of file naryone.icc.

template<class View0, class View1>
Reflection::ActorSpec Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 75 of file naryone.icc.

template<class View0, class View1>
Support::Symbol Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 68 of file naryone.icc.

template<class View0, class View1>
size_t Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::dispose ( Space home  )  [inline, virtual]

Delete propagator.

Reimplemented from Gecode::MixNaryOnePropagator< View0, PC_CPLTSET_DOM, View1, PC_CPLTSET_DOM >.

Definition at line 152 of file naryone.icc.

template<class View0, class View1>
Actor * Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 82 of file naryone.icc.

template<class View0, class View1>
ExecStatus Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::propagate ( Space home,
ModEventDelta  med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 131 of file naryone.icc.

template<class View0, class View1>
ExecStatus Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::post ( Space home,
ViewArray< View0 > &  x,
View1 &  y,
bdd &  d 
) [inline, static]

Definition at line 59 of file naryone.icc.


Member Data Documentation

template<class View0, class View1>
bdd Gecode::CpltSet::NaryOneCpltSetPropagator< View0, View1 >::d [protected]

Bdd representation of the constraint.

Definition at line 186 of file propagators.hh.


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