Gecode::Int::Distinct::DomCtrl< View > Class Template Reference
[Integer propagators]
#include <distinct.hh>
Detailed Description
template<class View>
class Gecode::Int::Distinct::DomCtrl< View >
Propagation controller for domain-consistent distinct.
The propagation controller provides convenient access to performing incremental domain-consistent distinct propagation so that the routines can be reused easily.
Requires
#include "gecode/int/distinct.hh"
Definition at line 163 of file distinct.hh.
Public Member Functions | |
DomCtrl (void) | |
Initialize with non-existing view-value graph. | |
bool | available (void) |
Check whether a view-value graph is available. | |
ExecStatus | init (int n, View *x) |
Initialize view-value graph for views x. | |
ExecStatus | sync (void) |
Synchronize available view-value graph. | |
void | propagate (Space *home) |
Perform propagation. | |
size_t | size (void) const |
Returns size of view-value graph. | |
void | flush (void) |
Flush view-value graph. | |
void | dispose (void) |
Deallocate view-value graph. | |
Protected Attributes | |
ViewValGraph * | vvg |
Propagation is performed on a view-value graph (used as cache). | |
Classes | |
class | ViewValGraph |
View-value graph for propagating domain-consistent distinct. More... |
Constructor & Destructor Documentation
|
Initialize with non-existing view-value graph.
|
Member Function Documentation
|
Check whether a view-value graph is available.
|
|
Initialize view-value graph for views x.
|
|
Synchronize available view-value graph.
|
|
Perform propagation.
|
|
Returns size of view-value graph.
|
|
Flush view-value graph.
|
|
Deallocate view-value graph.
|
Member Data Documentation
|
Propagation is performed on a view-value graph (used as cache).
Definition at line 166 of file distinct.hh. |
The documentation for this class was generated from the following files:
- gecode/int/distinct.hh (Revision: 3768)
- gecode/int/distinct/dom.icc (Revision: 3768)