Gecode::Int::Channel::Dom< View > Class Template Reference
[Integer propagators]
#include <channel.hh>
Inherits Gecode::Int::Channel::Base< 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
|
Constructor for cloning p.
|
|
Constructor for posting.
|
Member Function Documentation
|
Copy propagator during cloning.
Implements Gecode::Actor. |
|
Propagation cost.
Reimplemented from Gecode::Int::Channel::Base< DomInfo< View >, PC_INT_DOM >. |
|
Perform propagation.
Implements Gecode::Propagator. |
|
Post propagator for channeling on xy.
|
|
Flush propagation controller.
Reimplemented from Gecode::Actor. |
|
Returns size of propagation controller.
|
|
Delete propagator and return its size.
Reimplemented from Gecode::Int::Channel::Base< DomInfo< View >, PC_INT_DOM >. |
Member Data Documentation
|
Propagation controller for propagating distinct.
Definition at line 112 of file channel.hh. |
The documentation for this class was generated from the following files:
- gecode/int/channel.hh (Revision: 3349)
- gecode/int/channel/dom.icc (Revision: 3512)