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

Gecode::Set::Projection::NaryProjection< negated > Class Template Reference

#include <propagator.hh>

Inherits Gecode::Propagator.

List of all members.


Detailed Description

template<bool negated>
class Gecode::Set::Projection::NaryProjection< negated >

Nary projection propagator.

Definition at line 54 of file propagator.hh.


Public Member Functions

virtual PropCost cost (ModEventDelta med) const
 Cost function.
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.
virtual Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m) const
 Specification for this propagator.

Static Public Member Functions

static Support::Symbol ati (void)
 Name of this propagator.
static ExecStatus post (Space *home, ViewArray< SetView > &x, ProjectorSet &ps)

Protected Member Functions

 NaryProjection (Space *home, bool share, NaryProjection &p)
 Constructor for cloning p.
 NaryProjection (Space *home, ViewArray< SetView > &x, ProjectorSet &ps)
 Constructor for creation.

Protected Attributes

ViewArray< SetViewx
 Array of views.
SharedArray< PropCondpc
 Array of PropConds.
ProjectorSet ps
 The projector set to propagate.

Constructor & Destructor Documentation

template<bool negated>
Gecode::Set::Projection::NaryProjection< negated >::NaryProjection ( Space home,
bool  share,
NaryProjection< negated > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 61 of file nary.icc.

template<bool negated>
Gecode::Set::Projection::NaryProjection< negated >::NaryProjection ( Space home,
ViewArray< SetView > &  x,
ProjectorSet ps 
) [inline, protected]

Constructor for creation.

Definition at line 43 of file nary.icc.


Member Function Documentation

template<bool negated>
PropCost Gecode::Set::Projection::NaryProjection< negated >::cost ( ModEventDelta  med  )  const [inline, virtual]

Cost function.

Implements Gecode::Propagator.

Definition at line 70 of file nary.icc.

template<bool negated>
size_t Gecode::Set::Projection::NaryProjection< negated >::dispose ( Space home  )  [inline, virtual]

Delete propagator.

Reimplemented from Gecode::Actor.

Definition at line 96 of file nary.icc.

template<bool negated>
Actor * Gecode::Set::Projection::NaryProjection< negated >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 122 of file nary.icc.

template<bool negated>
ExecStatus Gecode::Set::Projection::NaryProjection< negated >::propagate ( Space home,
ModEventDelta  med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 128 of file nary.icc.

template<bool negated>
Reflection::ActorSpec Gecode::Set::Projection::NaryProjection< negated >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 90 of file nary.icc.

template<bool negated>
Support::Symbol Gecode::Set::Projection::NaryProjection< negated >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 81 of file nary.icc.

template<bool negated>
ExecStatus Gecode::Set::Projection::NaryProjection< negated >::post ( Space home,
ViewArray< SetView > &  x,
ProjectorSet ps 
) [inline, static]

Definition at line 111 of file nary.icc.


Member Data Documentation

template<bool negated>
ViewArray<SetView> Gecode::Set::Projection::NaryProjection< negated >::x [protected]

Array of views.

Definition at line 57 of file propagator.hh.

template<bool negated>
SharedArray<PropCond> Gecode::Set::Projection::NaryProjection< negated >::pc [protected]

Array of PropConds.

Definition at line 59 of file propagator.hh.

template<bool negated>
ProjectorSet Gecode::Set::Projection::NaryProjection< negated >::ps [protected]

The projector set to propagate.

Definition at line 61 of file propagator.hh.


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