Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

UpwardPlanarSubgraphSimple.h
Go to the documentation of this file.
1 
33 #pragma once
34 
36 #include <ogdf/basic/tuples.h>
37 
38 namespace ogdf {
39 
42 {
43 public:
44  // construction
46  // destruction
48 
49  // computes set of edges delEdges, which have to be deleted
50  // in order to get a planar subgraph; edges in preferedEdges
51  // should be contained in planar subgraph
52  virtual void call(const Graph &G, List<edge> &delEdges) override;
53 
54  void call(GraphCopy &GC, List<edge> &delEdges);
55 
56 
57 private:
58  bool checkAcyclic(
59  GraphCopySimple &graphAcyclicTest,
60  SList<Tuple2<node,node> > &tmpAugmented);
61 
62  void dfsBuildSpanningTree(
63  node v,
64  SListPure<edge> &treeEdges,
65  NodeArray<bool> &visited);
66 };
67 
68 }
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:492
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
Singly linked lists.
Definition: SList.h:38
Singly linked lists (maintaining the length of the list).
Definition: SList.h:773
Tuples of two elements (2-tuples).
Definition: tuples.h:46
Copies of graphs supporting edge splitting.
Definition: GraphCopy.h:249
Copies of graphs with mapping between nodes and edges.
Definition: GraphCopy.h:60
Class for the representation of nodes.
Definition: Graph_d.h:169
Interface for algorithms for computing an upward planar subgraph.
Declaration and implementation of class Tuple2, Tuple3 and Tuple4.
A maximal planar subgraph algorithm using planarity testing.
The namespace for all OGDF objects.
Declaration of interface for upward planar subgraph algorithms.