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

Gecode::Int::Channel::Val< View, shared > Class Template Reference
[Integer propagators]

#include <channel.hh>

Inherits Gecode::Int::Channel::Base< Gecode::Int::Channel::ValInfo< View >, PC_INT_VAL >.

List of all members.


Detailed Description

template<class View, bool shared>
class Gecode::Int::Channel::Val< View, shared >

Naive channel propagator.

Only propagates if views become assigned. If shared is true, the same views can be contained in both x and y.

Requires

Definition at line 99 of file channel.hh.


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 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 ExecStatus post (Space *home, int n, ValInfo< View > *xy)
 Post propagator for channeling.
static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post according to specification.
static Support::Symbol ati (void)
 Name of this propagator.

Protected Member Functions

 Val (Space *home, bool share, Val &p)
 Constructor for cloning p.
 Val (Space *home, int n, ValInfo< View > *xy)
 Constructor for posting.

Constructor & Destructor Documentation

template<class View, bool shared>
Gecode::Int::Channel::Val< View, shared >::Val ( Space home,
bool  share,
Val< View, shared > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 196 of file val.icc.

template<class View, bool shared>
Gecode::Int::Channel::Val< View, shared >::Val ( Space home,
int  n,
ValInfo< View > *  xy 
) [inline, protected]

Constructor for posting.

Definition at line 191 of file val.icc.


Member Function Documentation

template<class View, bool shared>
Actor * Gecode::Int::Channel::Val< View, shared >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 201 of file val.icc.

template<class View, bool shared>
ExecStatus Gecode::Int::Channel::Val< View, shared >::propagate ( Space home,
ModEventDelta  med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 207 of file val.icc.

template<class View, bool shared>
ExecStatus Gecode::Int::Channel::Val< View, shared >::post ( Space home,
int  n,
ValInfo< View > *  xy 
) [inline, static]

Post propagator for channeling.

Definition at line 260 of file val.icc.

template<class View, bool shared>
Reflection::ActorSpec Gecode::Int::Channel::Val< View, shared >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 241 of file val.icc.

template<class View, bool shared>
void Gecode::Int::Channel::Val< View, shared >::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [inline, static]

Post according to specification.

Definition at line 247 of file val.icc.

template<class View, bool shared>
Support::Symbol Gecode::Int::Channel::Val< View, shared >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 235 of file val.icc.


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