Interface for Observers that can be notified of all changes made to the tree during an update.
More...
#include <ogdf/basic/pctree/PCTree.h>
|
virtual void | afterMerge ([[maybe_unused]] PCTree &tree, [[maybe_unused]] PCNode *successor, [[maybe_unused]] PCNode *mergedNode) |
|
virtual void | beforeMerge ([[maybe_unused]] PCTree &tree, [[maybe_unused]] int count, [[maybe_unused]] PCNode *tpNeigh) |
|
virtual void | centralCreated ([[maybe_unused]] PCTree &tree, [[maybe_unused]] PCNode *central) |
|
virtual void | fullNodeSplit ([[maybe_unused]] PCTree &tree, [[maybe_unused]] PCNode *fullNode) |
|
virtual void | labelsAssigned ([[maybe_unused]] PCTree &tree, [[maybe_unused]] PCNode *firstPartial, [[maybe_unused]] PCNode *lastPartial, [[maybe_unused]] int partialCount) |
|
virtual void | makeConsecutiveCalled ([[maybe_unused]] PCTree &tree, [[maybe_unused]] FullLeafIter consecutiveLeaves) |
|
virtual void | makeConsecutiveDone ([[maybe_unused]] PCTree &tree, [[maybe_unused]] Stage stage, [[maybe_unused]] bool success) |
|
virtual void | nodeDeleted ([[maybe_unused]] PCTree &tree, [[maybe_unused]] PCNode *toBeDeleted) |
|
virtual void | nodeReplaced ([[maybe_unused]] PCTree &tree, [[maybe_unused]] PCNode *replaced, [[maybe_unused]] PCNode *replacement) |
|
virtual void | onApexMoved ([[maybe_unused]] PCTree &tree, [[maybe_unused]] PCNode *apexCandidate, [[maybe_unused]] PCNode *central, [[maybe_unused]] PCNode *parent) |
|
virtual void | onNodeCreate ([[maybe_unused]] PCNode *node) |
|
virtual void | terminalPathFound ([[maybe_unused]] PCTree &tree, [[maybe_unused]] PCNode *apex, [[maybe_unused]] PCNode *apexTPPred2, [[maybe_unused]] int terminalPathLength) |
|
virtual void | whenCNodeMerged ([[maybe_unused]] PCTree &tree, [[maybe_unused]] PCNode *tpNeigh, [[maybe_unused]] bool tpNeighSiblingsFlipped, [[maybe_unused]] PCNode *fullNeigh, [[maybe_unused]] PCNode *fullOuterChild) |
|
virtual void | whenPNodeMerged ([[maybe_unused]] PCTree &tree, [[maybe_unused]] PCNode *tpNeigh, [[maybe_unused]] PCNode *tpPred, [[maybe_unused]] PCNode *fullNeigh) |
|
Interface for Observers that can be notified of all changes made to the tree during an update.
Definition at line 634 of file PCTree.h.
◆ Stage
Enumerator |
---|
Trivial | |
NoPartials | |
InvalidTP | |
SingletonTP | |
Done | |
Definition at line 635 of file PCTree.h.
◆ afterMerge()
virtual void ogdf::pc_tree::PCTree::Observer::afterMerge |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] PCNode * |
successor, |
|
|
[[maybe_unused] ] PCNode * |
mergedNode |
|
) |
| |
|
inlinevirtual |
◆ beforeMerge()
virtual void ogdf::pc_tree::PCTree::Observer::beforeMerge |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] int |
count, |
|
|
[[maybe_unused] ] PCNode * |
tpNeigh |
|
) |
| |
|
inlinevirtual |
◆ centralCreated()
virtual void ogdf::pc_tree::PCTree::Observer::centralCreated |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] PCNode * |
central |
|
) |
| |
|
inlinevirtual |
◆ fullNodeSplit()
virtual void ogdf::pc_tree::PCTree::Observer::fullNodeSplit |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] PCNode * |
fullNode |
|
) |
| |
|
inlinevirtual |
◆ labelsAssigned()
virtual void ogdf::pc_tree::PCTree::Observer::labelsAssigned |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] PCNode * |
firstPartial, |
|
|
[[maybe_unused] ] PCNode * |
lastPartial, |
|
|
[[maybe_unused] ] int |
partialCount |
|
) |
| |
|
inlinevirtual |
◆ makeConsecutiveCalled()
virtual void ogdf::pc_tree::PCTree::Observer::makeConsecutiveCalled |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] FullLeafIter |
consecutiveLeaves |
|
) |
| |
|
inlinevirtual |
◆ makeConsecutiveDone()
virtual void ogdf::pc_tree::PCTree::Observer::makeConsecutiveDone |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] Stage |
stage, |
|
|
[[maybe_unused] ] bool |
success |
|
) |
| |
|
inlinevirtual |
◆ nodeDeleted()
virtual void ogdf::pc_tree::PCTree::Observer::nodeDeleted |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] PCNode * |
toBeDeleted |
|
) |
| |
|
inlinevirtual |
◆ nodeReplaced()
virtual void ogdf::pc_tree::PCTree::Observer::nodeReplaced |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] PCNode * |
replaced, |
|
|
[[maybe_unused] ] PCNode * |
replacement |
|
) |
| |
|
inlinevirtual |
◆ onApexMoved()
virtual void ogdf::pc_tree::PCTree::Observer::onApexMoved |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] PCNode * |
apexCandidate, |
|
|
[[maybe_unused] ] PCNode * |
central, |
|
|
[[maybe_unused] ] PCNode * |
parent |
|
) |
| |
|
inlinevirtual |
◆ onNodeCreate()
virtual void ogdf::pc_tree::PCTree::Observer::onNodeCreate |
( |
[[maybe_unused] ] PCNode * |
node | ) |
|
|
inlinevirtual |
◆ terminalPathFound()
virtual void ogdf::pc_tree::PCTree::Observer::terminalPathFound |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] PCNode * |
apex, |
|
|
[[maybe_unused] ] PCNode * |
apexTPPred2, |
|
|
[[maybe_unused] ] int |
terminalPathLength |
|
) |
| |
|
inlinevirtual |
◆ whenCNodeMerged()
virtual void ogdf::pc_tree::PCTree::Observer::whenCNodeMerged |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] PCNode * |
tpNeigh, |
|
|
[[maybe_unused] ] bool |
tpNeighSiblingsFlipped, |
|
|
[[maybe_unused] ] PCNode * |
fullNeigh, |
|
|
[[maybe_unused] ] PCNode * |
fullOuterChild |
|
) |
| |
|
inlinevirtual |
◆ whenPNodeMerged()
virtual void ogdf::pc_tree::PCTree::Observer::whenPNodeMerged |
( |
[[maybe_unused] ] PCTree & |
tree, |
|
|
[[maybe_unused] ] PCNode * |
tpNeigh, |
|
|
[[maybe_unused] ] PCNode * |
tpPred, |
|
|
[[maybe_unused] ] PCNode * |
fullNeigh |
|
) |
| |
|
inlinevirtual |
The documentation for this struct was generated from the following file: