Open
Graph Drawing
Framework

 v.2012.07
 

DynamicSkeleton.h
Go to the documentation of this file.
1 /*
2  * $Revision: 2523 $
3  *
4  * last checkin:
5  * $Author: gutwenger $
6  * $Date: 2012-07-02 20:59:27 +0200 (Mon, 02 Jul 2012) $
7  ***************************************************************/
8 
44 #ifdef _MSC_VER
45 #pragma once
46 #endif
47 
48 
49 #ifndef OGDF_DYNAMIC_SKELETON_H
50 #define OGDF_DYNAMIC_SKELETON_H
51 
52 
54 
55 
56 namespace ogdf {
57 
58  class DynamicSPQRTree;
59 
60 
62 
78 {
79  friend class DynamicSPQRTree;
80 
81 public:
82 
83  // constructor
84 
86 
92  DynamicSkeleton(const DynamicSPQRTree *T, node vT);
93 
94 
95  // destructor
97 
98 
100  const SPQRTree &owner() const;
101 
103 
106  node original (node v) const;
107 
109 
113  edge realEdge (edge e) const;
114 
116 
119  bool isVirtual (edge e) const {
120  return !realEdge(e);
121  }
122 
124 
128  edge twinEdge (edge e) const;
129 
131 
135  node twinTreeNode (edge e) const;
136 
138 
139 protected:
143 };
144 
145 
146 } // end namespace ogdf
147 
148 
149 #endif