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 >.
Detailed Description
Link propagator for a single Boolean view.Requires
#include "gecode/int/channel.hh"
Definition at line 177 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 (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 . | |
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 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] |
ExecStatus Gecode::Int::Channel::LinkSingle::post | ( | Space * | home, | |
BoolView | x0, | |||
IntView | x1 | |||
) | [inline, static] |
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] |
Support::Symbol Gecode::Int::Channel::LinkSingle::ati | ( | void | ) | [static] |
The documentation for this class was generated from the following files:
- gecode/int/channel.hh (Revision: 7285)
- gecode/int/channel/link-single.cc (Revision: 6017)
- gecode/int/channel/link-single.icc (Revision: 4790)