Generated on Tue Sep 25 2012 20:53:29 for Gecode by doxygen 1.7.5
Gecode::Int::Channel::Val Class Reference

Naive channel propagator. More...

#include <channel.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, int n, ValInfo< View > *xy, Offset &ox, Offset &oy)
 Post propagator for channeling.

Protected Member Functions

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

Detailed Description

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


Constructor & Destructor Documentation

Gecode::Int::Channel::Val::Val ( Space home,
bool  share,
Val p 
) [protected]

Constructor for cloning p.

Gecode::Int::Channel::Val::Val ( Home  home,
int  n,
ValInfo< View > *  xy,
Offset ox,
Offset oy 
) [inline, protected]

Constructor for posting.

Definition at line 186 of file val.hpp.


Member Function Documentation

Actor * Gecode::Int::Channel::Val::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Definition at line 198 of file val.hpp.

ExecStatus Gecode::Int::Channel::Val::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Definition at line 204 of file val.hpp.

ExecStatus Gecode::Int::Channel::Val::post ( Home  home,
int  n,
ValInfo< View > *  xy,
Offset ox,
Offset oy 
) [static]

Post propagator for channeling.

Definition at line 235 of file val.hpp.


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