Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Preprocess.h
Go to the documentation of this file.
1 
31 #pragma once
32 
33 #include <ogdf/basic/Graph.h>
34 #include <ogdf/basic/SList.h>
36 
37 namespace ogdf {
38 class Logger;
39 } // namespace ogdf
40 
41 namespace ogdf::sync_plan {
42 
44 
48 namespace preprocess {
49 
51 
53 
55 
57  const ogdf::Graph& G, ogdf::ClusterArray<ogdf::node>* centre = nullptr);
58 
60  const ogdf::Graph& G);
61 
63 
65 
67 
69 
70 }
71 
74 
77 
78 }
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
Graph.h
Includes declaration of graph class.
ogdf::sync_plan
Definition: clustering.h:44
ogdf::sync_plan::preprocess::removeSmallNodes
bool removeSmallNodes(const ogdf::ClusterGraph &C, ogdf::Graph &G)
ogdf::ClusterArrayBase
RegisteredArray for labeling the clusters of a ClusterGraph.
Definition: ClusterGraph.h:304
ogdf::SList
Singly linked lists (maintaining the length of the list).
Definition: SList.h:833
ogdf::sync_plan::preprocess::findSmallClusters
ogdf::SList< ogdf::cluster > findSmallClusters(const ogdf::ClusterGraph &C, const ogdf::Graph &G)
SList.h
Declaration of singly linked lists and iterators.
ogdf::sync_plan::preprocessClusterGraph
bool preprocessClusterGraph(ogdf::ClusterGraph &C, ogdf::Graph &G)
Preprocess a ClusterGraph to remove trivially c-planar parts or isolate a trivially non-c-planar subg...
ogdf::Graph
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:862
ogdf::sync_plan::preprocess::removeSmallClusters
bool removeSmallClusters(ogdf::ClusterGraph &C, ogdf::Graph &G)
ogdf::sync_plan::canPreprocessClusterGraph
bool canPreprocessClusterGraph(const ogdf::ClusterGraph &C, const ogdf::Graph &G)
Check whether preprocessing would modify a graph.
ogdf::sync_plan::preprocess::findDisconnectedClusters
ogdf::SList< ogdf::cluster > findDisconnectedClusters(const ogdf::ClusterGraph &C, const ogdf::Graph &G, ogdf::ClusterArray< ogdf::node > *centre=nullptr)
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ClusterGraph.h
Derived class of GraphObserver providing additional functionality to handle clustered graphs.
ogdf::sync_plan::preprocess::findDeg2Nodes
ogdf::SList< ogdf::node > findDeg2Nodes(const ogdf::ClusterGraph &C, const ogdf::Graph &G)
ogdf::sync_plan::preprocess::preprocessLog
ogdf::Logger preprocessLog
ogdf::Logger
Centralized global and local logging facility working on streams like std::cout.
Definition: Logger.h:100
ogdf::ClusterGraph
Representation of clustered graphs.
Definition: ClusterGraph.h:339
ogdf::sync_plan::preprocess::findSmallNodes
ogdf::SList< ogdf::node > findSmallNodes(const ogdf::ClusterGraph &C, const ogdf::Graph &G)
ogdf::sync_plan::preprocess::disconnectedClustersToStars
bool disconnectedClustersToStars(ogdf::ClusterGraph &C, ogdf::Graph &G)
ogdf::sync_plan::preprocess::unsplitDeg2Nodes
bool unsplitDeg2Nodes(const ogdf::ClusterGraph &C, ogdf::Graph &G)