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

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

#include <channel.hh>

Inherits Gecode::MixNaryOnePropagator< Gecode::Int::BoolView, PC_BOOL_VAL, Gecode::Int::IntView, PC_INT_DOM >.

List of all members.


Detailed Description

Link propagator for multiple Boolean views.

Requires

Definition at line 214 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 (PC_UNARY_LO if y is assigned, PC_LINEAR_LO otherwise).
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, ViewArray< BoolView > &x, IntView y, int o)
 Post propagator for $ x_i = 1\leftrightarrow y=i+o$.
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::LinkMulti::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 91 of file link-multi.cc.

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

Cost function (PC_UNARY_LO if y is assigned, PC_LINEAR_LO otherwise).

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

Definition at line 96 of file link-multi.cc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 125 of file link-multi.cc.

ExecStatus Gecode::Int::Channel::LinkMulti::post ( Space home,
ViewArray< BoolView > &  x,
IntView  y,
int  o 
) [inline, static]

Post propagator for $ x_i = 1\leftrightarrow y=i+o$.

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

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

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 107 of file link-multi.cc.

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

Post according to specification.

Definition at line 115 of file link-multi.cc.

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

Name of this propagator.

Definition at line 102 of file link-multi.cc.


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