Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

CconnectClusterPlanar.h
Go to the documentation of this file.
1 
33 #pragma once
34 
37 #include <ogdf/basic/EdgeArray.h>
38 
39 namespace ogdf {
40 
42 
46 {
47 public:
48 
49  //aus CCCPE oder CCCP wieder entfernen
50  enum class ErrorCode {
51  none = 0,
52  nonConnected = 1,
53  nonCConnected = 2,
54  nonPlanar = 3,
55  nonCPlanar = 4
56  };
57 
58  ErrorCode errCode() { return m_errorCode; }
59 
60 
63 
65  virtual ~CconnectClusterPlanar() { }
66 
68  virtual bool call(const ClusterGraph &C);
69 
70 private:
72 
74  bool planarityTest(ClusterGraph &C, const cluster act, Graph &G);
75 
77  bool preProcess(ClusterGraph &C,Graph &G);
78 
80  bool preparation(Graph &G, const cluster C, node superSink);
81 
83  bool doTest(
84  Graph &G,
85  NodeArray<int> &numbering,
86  const cluster cl,
87  node superSink,
88  EdgeArray<edge> &edgeTable);
89 
90  void prepareParallelEdges(Graph &G);
91 
93  void constructWheelGraph(
94  ClusterGraph &C,
95  Graph &G,
96  cluster &parent,
97  PlanarPQTree* T,
98  EdgeArray<node> &outgoingTable);
99 
100 
101  //private Members for handling parallel edges
106 
108 };
109 
110 }
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:492
Declaration of class PlanarPQTree.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
EdgeArray< ListPure< edge > > m_parallelEdges
Dynamic arrays indexed with edges.
Definition: EdgeArray.h:112
ClusterArray< PlanarPQTree * > m_clusterPQTree
Representation of clustered graphs.
Definition: ClusterGraph.h:291
Declaration and implementation of EdgeArray class.
C-planarity test by Cohen, Feng and Eades.
Dynamic arrays indexed with clusters.
Definition: ClusterArray.h:110
Class for the representation of nodes.
Definition: Graph_d.h:169
Representation of clusters in a clustered graph.
Definition: ClusterGraph.h:53
virtual ~CconnectClusterPlanar()
Destructor.
Declaration and implementation of ClusterArray class.
The namespace for all OGDF objects.