Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

PlanarAugmentationFix.h
Go to the documentation of this file.
1 
33 #pragma once
34 
36 #include <ogdf/basic/GraphCopy.h>
39 
40 namespace ogdf {
41 
48 
49 public:
52 
55 
56 
57 protected:
64  virtual void doCall(Graph& g, List<edge>& L) override;
65 
66 private:
71 
76 
81 
86 
91 
96 
101 
106 
112 
117 
122 
127 
131  void augment(adjEntry adjOuterFace);
132 
136  void modifyBCRoot(node oldRoot, node newRoot);
137 
141  void changeBCRoot(node oldRoot, node newRoot);
142 
146  void reduceChain(node pendant);
147 
151  PALabel::StopCause followPath(node v, node& last);
152 
156  bool findMatching(node& pendant1, node& pendant2, adjEntry& v1, adjEntry& v2);
157 
161  void findMatchingRev(node& pendant1, node& pendant2, adjEntry& v1, adjEntry& v2);
162 
166  pa_label newLabel(node cutvertex, node parent, node pendant, PALabel::StopCause whyStop);
167 
171  void addPendant(node p, pa_label& l);
172 
176  ListIterator<pa_label> insertLabel(pa_label l);
177 
181  void connectPendants(node pendant1, node pendant2, adjEntry adjV1, adjEntry adjV2);
182 
186  void connectSingleLabel();
187 
191  void deletePendant(node pendant);
192 
196  void deleteLabel(pa_label& l);
197 
201  void removeLabel(pa_label& l);
202 
203 }; // class PlanarAugmentationFix
204 
205 
206 } // namespace ogdf
Graph * m_pGraph
The working graph.
auxiliary class for the planar augmentation algorithm
Definition: PALabel.h:46
Declares auxiliary structure of planar augmentation algorithms.
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:472
EdgeArray< edge > m_eCopy
Edge-array required for construction of the graph copy.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
NodeArray< ListIterator< node > > m_belongsToIt
Array that contains the iterator of the label a node belongs to.
Dynamic BC-trees.
Definition: DynamicBCTree.h:54
Dynamic arrays indexed with edges.
Definition: EdgeArray.h:112
CombinatorialEmbedding * m_pActEmbedding
The embedding of the actual partial graph.
DynamicBCTree * m_pBCTree
The actual dynamic bc-tree.
The algorithm for biconnectivity augmentation with fixed combinatorial embedding. ...
List< pa_label > m_labels
The list of all labels.
Dynamic arrays indexed with nodes.
Definition: Graph_d.h:423
NodeArray< pa_label > m_belongsTo
Array that contains the label a node belongs to.
Declaration of graph copy classes.
node m_actBCRoot
The actual root of the bc-tree.
Copies of graphs supporting edge splitting.
Definition: GraphCopy.h:250
Class for the representation of nodes.
Definition: Graph_d.h:167
Encapsulates a pointer to a list element.
Definition: List.h:41
NodeArray< ListIterator< pa_label > > m_isLabel
Array that contains iterators to the list of labels if a node is a parent of a label.
GraphCopy m_graphCopy
The actual partial graph.
Declaration of interface for graph augmentation algorithms.
Declaration of class DynamicBCTree.
CombinatorialEmbedding * m_pEmbedding
The embedding of g.
List< edge > * m_pResult
The inserted edges by the algorithm.
The base class for graph augmentation algorithms.
The namespace for all OGDF objects.
PlanarAugmentationFix()
Creates an instance of planar augmentation with fixed embedding.
Combinatorial embeddings of planar graphs with modification functionality.
Class for adjacency list elements.
Definition: Graph_d.h:78