Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

DynamicSkeleton.h
Go to the documentation of this file.
1 
32 #pragma once
33 
35 
36 
37 namespace ogdf {
38 
39 class DynamicSPQRTree;
40 
41 
43 
61 {
62  friend class DynamicSPQRTree;
63 
64 public:
65 
66  // constructor
67 
69 
75  DynamicSkeleton(const DynamicSPQRTree *T, node vT);
76 
77 
78  // destructor
80 
81 
83  const SPQRTree &owner() const override;
84 
86 
89  node original (node v) const override;
90 
92 
96  edge realEdge (edge e) const override;
97 
99 
102  bool isVirtual (edge e) const override {
103  return !realEdge(e);
104  }
105 
107 
111  edge twinEdge (edge e) const override;
112 
114 
118  node twinTreeNode (edge e) const override;
119 
121 
122 protected:
126 };
127 
128 
129 } // end namespace ogdf
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
EdgeArray< edge > m_origEdge
corresp.
Dynamic arrays indexed with edges.
Definition: EdgeArray.h:112
Declaration of class Skeleton.
Skeleton graphs of nodes in an SPQR-tree.
Definition: Skeleton.h:61
Dynamic arrays indexed with nodes.
Definition: Graph_d.h:423
NodeArray< node > m_origNode
corresp.
bool isVirtual(edge e) const override
Returns true iff e is a virtual edge.
Class for the representation of edges.
Definition: Graph_d.h:291
Class for the representation of nodes.
Definition: Graph_d.h:167
Linear-time implementation of dynamic SPQR-trees.
#define OGDF_NEW_DELETE
Makes the class use OGDF&#39;s memory allocator.
Definition: memory.h:84
Skeleton graphs of nodes in a dynamic SPQR-tree.
Linear-time implementation of static SPQR-trees.
Definition: SPQRTree.h:71
The namespace for all OGDF objects.
const DynamicSPQRTree * m_owner
owner tree