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 >.
Detailed Description
Link propagator for multiple Boolean views.Requires
#include "gecode/int/channel.hh"
Definition at line 214 of file channel.hh.
Public Member Functions | |
virtual Actor * | copy (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 . | |
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
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] |
ExecStatus Gecode::Int::Channel::LinkMulti::post | ( | Space * | home, | |
ViewArray< BoolView > & | x, | |||
IntView | y, | |||
int | o | |||
) | [inline, static] |
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] |
Support::Symbol Gecode::Int::Channel::LinkMulti::ati | ( | void | ) | [static] |
The documentation for this class was generated from the following files:
- gecode/int/channel.hh (Revision: 7285)
- gecode/int/channel/link-multi.cc (Revision: 6017)
- gecode/int/channel/link-multi.icc (Revision: 4790)