Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

UpwardPlanarSubgraphSimple.h
Go to the documentation of this file.
1 
33 #pragma once
34 
35 #include <ogdf/basic/tuples.h>
37 
38 namespace ogdf {
39 
42 public:
43  // construction
45 
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(GraphCopySimple& graphAcyclicTest, SList<Tuple2<node, node>>& tmpAugmented);
59 
60  void dfsBuildSpanningTree(node v, SListPure<edge>& treeEdges, NodeArray<bool>& visited);
61 };
62 
63 }
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
ogdf::UpwardPlanarSubgraphModule
Interface for algorithms for computing an upward planar subgraph.
Definition: UpwardPlanarSubgraphModule.h:42
ogdf::Tuple2
Tuples of two elements (2-tuples).
Definition: tuples.h:46
ogdf::UpwardPlanarSubgraphSimple
A maximal planar subgraph algorithm using planarity testing.
Definition: UpwardPlanarSubgraphSimple.h:41
ogdf::SList
Singly linked lists (maintaining the length of the list).
Definition: SList.h:833
UpwardPlanarSubgraphModule.h
Declaration of interface for upward planar subgraph algorithms.
ogdf::GraphCopy
Copies of graphs supporting edge splitting.
Definition: GraphCopy.h:384
ogdf::GraphCopySimple
Copies of graphs with mapping between nodes and edges.
Definition: GraphCopy.h:254
ogdf::UpwardPlanarSubgraphSimple::~UpwardPlanarSubgraphSimple
~UpwardPlanarSubgraphSimple()
Definition: UpwardPlanarSubgraphSimple.h:47
ogdf::SListPure
Singly linked lists.
Definition: SList.h:39
ogdf::List< edge >
ogdf::internal::GraphRegisteredArray
RegisteredArray for nodes, edges and adjEntries of a graph.
Definition: Graph_d.h:651
ogdf::Graph
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:862
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::UpwardPlanarSubgraphSimple::UpwardPlanarSubgraphSimple
UpwardPlanarSubgraphSimple()
Definition: UpwardPlanarSubgraphSimple.h:44
ogdf::NodeElement
Class for the representation of nodes.
Definition: Graph_d.h:233
tuples.h
Declaration and implementation of class Tuple2, Tuple3 and Tuple4.