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

Gecode::Int::Channel::LinkSingle Class Reference
[Integer propagators]

#include <channel.hh>

Inherits Gecode::MixBinaryPropagator< Gecode::Int::BoolView, PC_BOOL_VAL, Gecode::Int::IntView, PC_INT_VAL >.

List of all members.


Detailed Description

Link propagator for a single Boolean view.

Requires

Definition at line 177 of file channel.hh.


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (ModEventDelta med) const
 Cost function (defined as PC_UNARY_LO).
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, BoolView x0, IntView x1)
 Post propagator for $ x_0 = x_1$.
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.

Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 48 of file link-single.cc.

PropCost Gecode::Int::Channel::LinkSingle::cost ( ModEventDelta  med  )  const [virtual]

Cost function (defined as PC_UNARY_LO).

Reimplemented from Gecode::MixBinaryPropagator< View0, pc0, View1, pc1 >.

Definition at line 53 of file link-single.cc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 78 of file link-single.cc.

ExecStatus Gecode::Int::Channel::LinkSingle::post ( Space home,
BoolView  x0,
IntView  x1 
) [inline, static]

Post propagator for $ x_0 = x_1$.

Definition at line 46 of file link-single.icc.

Reflection::ActorSpec Gecode::Int::Channel::LinkSingle::spec ( const Space home,
Reflection::VarMap m 
) const [virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 63 of file link-single.cc.

void Gecode::Int::Channel::LinkSingle::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [static]

Post according to specification.

Definition at line 69 of file link-single.cc.

Support::Symbol Gecode::Int::Channel::LinkSingle::ati ( void   )  [static]

Name of this propagator.

Definition at line 58 of file link-single.cc.


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