Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

UpwardPlanarity.h
Go to the documentation of this file.
1 
40 #pragma once
41 
42 #include <ogdf/basic/Graph.h>
43 #include <ogdf/basic/SList.h>
45 
46 
47 namespace ogdf {
48 
49 
51 
74 {
75 public:
80 
82 
86  static bool isUpwardPlanar(Graph &G);
87 
89 
94  static bool embedUpwardPlanar(Graph &G, adjEntry& externalToItsRight);
95 
96 #if 0
97 
103  static int maximalFeasibleUpwardPlanarSubgraph(const Graph &G, GraphCopy &GC);
104 #endif
105 
107 
111 
113 
119  static bool isUpwardPlanar_embedded(const Graph &G);
120 
122  static bool isUpwardPlanar_embedded(const Graph &G, List<adjEntry> &possibleExternalFaces);
123 
125 
129 
131 
137  static bool isUpwardPlanar_triconnected(const Graph &G);
138 
140 
146  static bool upwardPlanarEmbed_triconnected(Graph &G);
147 
148 
150 
154 
156 
162  static bool isUpwardPlanar_singleSource(const Graph &G);
163 
165 
171  static bool upwardPlanarEmbed_singleSource(Graph &G);
172 
174 
183  static bool upwardPlanarAugment_singleSource(Graph &G);
184 
186 
197  static bool upwardPlanarAugment_singleSource(
198  Graph &G,
199  node &superSink,
200  SList<edge> &augmentedEdges);
201 
202 
204 
209  static bool isUpwardPlanar_singleSource_embedded(
211  SList<face> &externalFaces);
212 
214 
221  static bool upwardPlanarAugment_singleSource_embedded(
222  Graph &G,
223  node &superSink,
224  SList<edge> &augmentedEdges);
225 
227 };
228 
229 
230 } // end namespace ogdf
Declaration of singly linked lists and iterators.
Upward planarity testing and embedding.
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:472
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
Combinatorial embeddings of planar graphs.
Declaration of CombinatorialEmbedding and face.
Singly linked lists (maintaining the length of the list).
Definition: SList.h:777
Doubly linked lists (maintaining the length of the list).
Definition: List.h:39
Copies of graphs supporting edge splitting.
Definition: GraphCopy.h:250
Class for the representation of nodes.
Definition: Graph_d.h:167
Includes declaration of graph class.
The namespace for all OGDF objects.
Class for adjacency list elements.
Definition: Graph_d.h:78