Gecode::Int::Channel::Dom< View > Class Template Reference
[Integer propagators]
#include <channel.hh>
Inherits Gecode::Int::Channel::Base< Info, pc >< Gecode::Int::Channel::DomInfo< View >, PC_INT_DOM >.
Detailed Description
template<class View>
class Gecode::Int::Channel::Dom< View >
Domain-consistent channel propagator.
Requires
#include "gecode/int/channel.hh"
Definition at line 106 of file channel.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Copy propagator during cloning. | |
virtual PropCost | cost (void) const |
Propagation cost. | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
virtual void | flush (void) |
Flush propagation controller. | |
virtual size_t | size (void) const |
Returns size of propagation controller. | |
virtual size_t | dispose (Space *home) |
Delete propagator and return its size. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, int n, DomInfo< View > *xy) |
Post propagator for channeling on xy. | |
Protected Member Functions | |
Dom (Space *home, bool share, Dom &p) | |
Constructor for cloning p. | |
Dom (Space *home, int n, DomInfo< View > *xy) | |
Constructor for posting. | |
Protected Attributes | |
Distinct::DomCtrl< View > | dc |
Propagation controller for propagating distinct. |
Constructor & Destructor Documentation
template<class View>
Gecode::Int::Channel::Dom< View >::Dom | ( | Space * | home, | |
bool | share, | |||
Dom< View > & | p | |||
) | [inline, protected] |
template<class View>
Gecode::Int::Channel::Dom< View >::Dom | ( | Space * | home, | |
int | n, | |||
DomInfo< View > * | xy | |||
) | [inline, protected] |
Member Function Documentation
template<class View>
Actor * Gecode::Int::Channel::Dom< View >::copy | ( | Space * | home, | |
bool | share | |||
) | [virtual] |
template<class View>
PropCost Gecode::Int::Channel::Dom< View >::cost | ( | void | ) | const [virtual] |
template<class View>
ExecStatus Gecode::Int::Channel::Dom< View >::propagate | ( | Space * | home | ) | [virtual] |
template<class View>
ExecStatus Gecode::Int::Channel::Dom< View >::post | ( | Space * | home, | |
int | n, | |||
DomInfo< View > * | xy | |||
) | [static] |
template<class View>
void Gecode::Int::Channel::Dom< View >::flush | ( | void | ) | [virtual] |
template<class View>
size_t Gecode::Int::Channel::Dom< View >::size | ( | void | ) | const [virtual] |
template<class View>
size_t Gecode::Int::Channel::Dom< View >::dispose | ( | Space * | home | ) | [virtual] |
Member Data Documentation
template<class View>
Distinct::DomCtrl<View> Gecode::Int::Channel::Dom< View >::dc [protected] |
The documentation for this class was generated from the following files:
- gecode/int/channel.hh (Revision: 3349)
- gecode/int/channel/dom.icc (Revision: 3512)