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

Gecode::CpltSet::Singleton< View1, View2 > Class Template Reference
[CpltSet propagators]

#include <propagators.hh>

Inherits Gecode::Propagator.

List of all members.


Detailed Description

template<class View1, class View2>
class Gecode::CpltSet::Singleton< View1, View2 >

Singleton channel propagator from IntVar to CpltSetVar.

Requires

Definition at line 296 of file propagators.hh.


Public Member Functions

virtual PropCost cost (ModEventDelta med) const
 Cost function.
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, View1 &x, View2 &s)

Protected Member Functions

 Singleton (Space *home, bool share, Singleton &p)
 Constructor for cloning p.
 Singleton (Space *home, View1 &x, View2 &s)
 Constructor for creation.

Protected Attributes

View1 x
 View for the IntVar.
View2 s
 View for the CpltSetVar.

Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 51 of file singleton.icc.

template<class View1, class View2>
Gecode::CpltSet::Singleton< View1, View2 >::Singleton ( Space home,
View1 &  x,
View2 &  s 
) [inline, protected]

Constructor for creation.

Definition at line 42 of file singleton.icc.


Member Function Documentation

template<class View1, class View2>
PropCost Gecode::CpltSet::Singleton< View1, View2 >::cost ( ModEventDelta  med  )  const [inline, virtual]

Cost function.

Implements Gecode::Propagator.

Definition at line 59 of file singleton.icc.

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

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 71 of file singleton.icc.

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

Name of this propagator.

Definition at line 65 of file singleton.icc.

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

Delete propagator.

Reimplemented from Gecode::Actor.

Definition at line 77 of file singleton.icc.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 96 of file singleton.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 102 of file singleton.icc.

template<class View1, class View2>
ExecStatus Gecode::CpltSet::Singleton< View1, View2 >::post ( Space home,
View1 &  x,
View2 &  s 
) [inline, static]

Definition at line 89 of file singleton.icc.


Member Data Documentation

template<class View1, class View2>
View1 Gecode::CpltSet::Singleton< View1, View2 >::x [protected]

View for the IntVar.

Definition at line 299 of file propagators.hh.

template<class View1, class View2>
View2 Gecode::CpltSet::Singleton< View1, View2 >::s [protected]

View for the CpltSetVar.

Definition at line 301 of file propagators.hh.


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