Gecode::Int::Channel::Val< View > Class Template Reference
[Integer propagators]
#include <channel.hh>
Inherits Gecode::Int::Channel::Base< Info, pc >< Gecode::Int::Channel::ValInfo< View >, PC_INT_VAL >.
Detailed Description
template<class View>
class Gecode::Int::Channel::Val< View >
Naive channel propagator.
Only propagates if views become assigned.
Requires
#include "gecode/int/channel.hh"
Definition at line 75 of file channel.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, int n, ValInfo< View > *xy) |
Post propagator for channeling on xy. | |
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>
Gecode::Int::Channel::Val< View >::Val | ( | Space * | home, | |
bool | share, | |||
Val< View > & | p | |||
) | [protected] |
Constructor for cloning p.
template<class View>
Gecode::Int::Channel::Val< View >::Val | ( | Space * | home, | |
int | n, | |||
ValInfo< View > * | xy | |||
) | [inline, protected] |
Member Function Documentation
template<class View>
Actor * Gecode::Int::Channel::Val< View >::copy | ( | Space * | home, | |
bool | share | |||
) | [virtual] |
template<class View>
ExecStatus Gecode::Int::Channel::Val< View >::propagate | ( | Space * | home | ) | [virtual] |
template<class View>
ExecStatus Gecode::Int::Channel::Val< View >::post | ( | Space * | home, | |
int | n, | |||
ValInfo< View > * | xy | |||
) | [static] |
The documentation for this class was generated from the following files:
- gecode/int/channel.hh (Revision: 3349)
- gecode/int/channel/val.icc (Revision: 3512)