Gecode::Int::Channel::Val< View, shared > Class Template Reference
[Integer propagators]
#include <channel.hh>
Inherits Gecode::Int::Channel::Base< Gecode::Int::Channel::ValInfo< View >, PC_INT_VAL >.
Detailed Description
template<class View, bool shared>
class Gecode::Int::Channel::Val< View, shared >
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
#include "gecode/int/channel.hh"
Definition at line 99 of file channel.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Copy propagator during cloning. | |
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, int n, ValInfo< View > *xy) |
Post propagator for channeling. | |
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. | |
Protected Member Functions | |
Val (Space *home, bool share, Val &p) | |
Constructor for cloning p. | |
Val (Space *home, int n, ValInfo< View > *xy) | |
Constructor for posting. |
Constructor & Destructor Documentation
template<class View, bool shared>
Gecode::Int::Channel::Val< View, shared >::Val | ( | Space * | home, | |
bool | share, | |||
Val< View, shared > & | p | |||
) | [inline, protected] |
template<class View, bool shared>
Gecode::Int::Channel::Val< View, shared >::Val | ( | Space * | home, | |
int | n, | |||
ValInfo< View > * | xy | |||
) | [inline, protected] |
Member Function Documentation
template<class View, bool shared>
Actor * Gecode::Int::Channel::Val< View, shared >::copy | ( | Space * | home, | |
bool | share | |||
) | [inline, virtual] |
template<class View, bool shared>
ExecStatus Gecode::Int::Channel::Val< View, shared >::propagate | ( | Space * | home, | |
ModEventDelta | med | |||
) | [inline, virtual] |
template<class View, bool shared>
ExecStatus Gecode::Int::Channel::Val< View, shared >::post | ( | Space * | home, | |
int | n, | |||
ValInfo< View > * | xy | |||
) | [inline, static] |
template<class View, bool shared>
Reflection::ActorSpec Gecode::Int::Channel::Val< View, shared >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [inline, virtual] |
template<class View, bool shared>
void Gecode::Int::Channel::Val< View, shared >::post | ( | Space * | home, | |
Reflection::VarMap & | vars, | |||
const Reflection::ActorSpec & | spec | |||
) | [inline, static] |
template<class View, bool shared>
Support::Symbol Gecode::Int::Channel::Val< View, shared >::ati | ( | void | ) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/channel.hh (Revision: 7285)
- gecode/int/channel/val.icc (Revision: 7289)