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>
35 #include <ogdf/basic/basic.h>
37 
38 namespace ogdf {
39 class Logger;
40 } // namespace ogdf
41 
42 namespace ogdf::sync_plan {
43 
45 
49 namespace preprocess {
50 
52 
54 
56 
58  const ogdf::Graph& G, ogdf::ClusterArray<ogdf::node>* centre = nullptr);
59 
61  const ogdf::Graph& G);
62 
64 
66 
68 
70 
71 }
72 
75 
78 
79 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
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:311
ogdf::SList
Singly linked lists (maintaining the length of the list).
Definition: SList.h:845
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:869
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)
basic.h
Basic declarations, included by all source files.
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:102
ogdf::ClusterGraph
Representation of clustered graphs.
Definition: ClusterGraph.h:346
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)