View-value graph for propagation.
More...
#include <gecode/int/distinct.hh>
|
| | Graph (void) |
| | Construct graph as not yet initialized.
|
| ExecStatus | init (Space &home, ViewArray< View > &x) |
| | Initialize graph.
|
| bool | mark (void) |
| | Mark edges in graph, return true if pruning is at all possible.
|
| ExecStatus | prune (Space &home, bool &assigned) |
| | Prune unmarked edges, assigned is true if a view got assigned.
|
| bool | sync (void) |
| | Synchronize graph with new view domains.
|
| | Graph (void) |
| | Construct graph as not yet initialized.
|
| | operator bool (void) const |
| | Test whether graph has been initialized.
|
| void | purge (void) |
| | Purge graph if necessary (reset information to avoid overflow).
|
template<class
View>
class Gecode::Int::Distinct::Graph< View >
View-value graph for propagation.
Definition at line 218 of file distinct.hh.
◆ Graph()
Construct graph as not yet initialized.
Definition at line 40 of file graph.hpp.
◆ init()
Initialize graph.
Definition at line 44 of file graph.hpp.
◆ mark()
| bool Graph::mark |
( |
void | | ) |
|
|
inline |
Mark edges in graph, return true if pruning is at all possible.
Definition at line 176 of file graph.hpp.
◆ prune()
Prune unmarked edges, assigned is true if a view got assigned.
Definition at line 240 of file graph.hpp.
◆ sync()
| bool Graph::sync |
( |
void | | ) |
|
|
inline |
Synchronize graph with new view domains.
Definition at line 112 of file graph.hpp.
The documentation for this class was generated from the following files: