142 void makeConnectedByPendants();
171 bool planarityCheck(
node v1,
node v2);
192 void deletePendant(
node p,
bool removeFromLabel =
true);
207 void removeAllPendants(
pa_label& l);
217 void connectInsideLabel(
pa_label& l);
229 void deleteLabel(
pa_label& l,
bool removePendants =
true);
270 void modifyBCRoot(
node oldRoot,
node newRoot);
Declaration of singly linked lists and iterators.
auxiliary class for the planar augmentation algorithm
Declares auxiliary structure of planar augmentation algorithms.
Data type for general directed graphs (adjacency list representation).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
DynamicBCTree * m_pBCTree
The corresponding BC-Tree.
List< edge > * m_pResult
The inserted edges by the algorithm.
NodeArray< SList< adjEntry > > m_adjNonChildren
Stores for each node of the bc-tree the children that have an adjacent bc-node that doesn't belong to...
Singly linked lists (maintaining the length of the list).
List< node > m_pendantsToDel
The list of pendants that has to be deleted after each reduceChain.
Graph * m_pGraph
The working graph.
The algorithm for planar biconnectivity augmentation (Mutzel, Fialko).
Dynamic arrays indexed with nodes.
Class for the representation of edges.
Class for the representation of nodes.
Encapsulates a pointer to a list element.
Declaration of interface for graph augmentation algorithms.
Declaration of class DynamicBCTree.
int m_nPlanarityTests
Counts the number of planarity tests.
PlanarAugmentation()
Creates an instance of the planar augmentation algorithm.
The base class for graph augmentation algorithms.
The namespace for all OGDF objects.
List< pa_label > m_labels
The list of all labels, sorted by size (decreasing).
NodeArray< pa_label > m_belongsTo
The label a BC-Node belongs to.
NodeArray< ListIterator< pa_label > > m_isLabel
The list iterator in m_labels if the node in the BC-Tree is a label.
List< node > m_pendants
The list of all pendants (leaves in the BC-Tree).
~PlanarAugmentation()
Destruction.