Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

LocalBiconnectedMerger.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/Graph.h>
35 #include <ogdf/basic/HashArray.h>
36 #include <ogdf/basic/basic.h>
38 
39 namespace ogdf {
40 class MultilevelGraph;
41 
43 
47 private:
52 
53  void initCuts(Graph& G);
54  int realNodeMark(int index);
55 
58  bool buildOneLevel(MultilevelGraph& MLG) override;
59  bool doMerge(MultilevelGraph& MLG, node parent, node mergePartner, int level);
60  bool doMergeIfPossible(Graph& G, MultilevelGraph& MLG, node parent, node mergePartner, int level);
61  bool canMerge(Graph& G, node parent, node mergePartner);
62  bool canMerge(Graph& G, node parent, node mergePartner, int testStrength);
63 
64 public:
69  void setFactor(double factor);
70 };
71 
72 }
HashArray.h
Declaration and implementation of HashArray class.
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
Graph.h
Includes declaration of graph class.
ogdf::LocalBiconnectedMerger::m_realNodeMarks
HashArray< int, int > m_realNodeMarks
Definition: LocalBiconnectedMerger.h:51
ogdf::LocalBiconnectedMerger
The local biconnected merger for multilevel layout.
Definition: LocalBiconnectedMerger.h:46
ogdf::MultilevelGraph
Definition: MultilevelGraph.h:69
ogdf::LocalBiconnectedMerger::m_substituteNodes
NodeArray< node > m_substituteNodes
Definition: LocalBiconnectedMerger.h:49
ogdf::HashArray< int, int >
ogdf::internal::GraphRegisteredArray
RegisteredArray for nodes, edges and adjEntries of a graph.
Definition: Graph_d.h:658
ogdf::Graph
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:869
ogdf::LocalBiconnectedMerger::m_isCut
NodeArray< bool > m_isCut
Definition: LocalBiconnectedMerger.h:50
ogdf::MultilevelBuilder
Base class for merger modules.
Definition: MultilevelBuilder.h:43
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
MultilevelBuilder.h
Declaration of MultilevelBuilder.
ogdf::LocalBiconnectedMerger::m_levelSizeFactor
double m_levelSizeFactor
Definition: LocalBiconnectedMerger.h:48
ogdf::NodeElement
Class for the representation of nodes.
Definition: Graph_d.h:240