Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

EmbedderMaxFaceLayers.h
Go to the documentation of this file.
1 
32 #pragma once
33 
37 
38 namespace ogdf {
39 
41 
53 {
54 public:
55  //constructor and destructor
58 
64  virtual void doCall(Graph& G, adjEntry& adjExternal) override;
65 
66 private:
73  void computeBlockGraphs(const node& bT, const node& cH);
74 
82  int constraintMaxFace(const node& bT, const node& cH);
83 
92  void maximumFaceRec(const node& bT, node& bT_opt, int& ell_opt);
93 
100  void embedBlock(const node& bT);
101 
112  void embedBlock(const node& bT, const node& cT, ListIterator<adjEntry>& after);
113 
114 private:
117 
120 
123 
126 
129 
132 
135 
138 
141 
144 
148 
151 };
152 
153 } // end namespace ogdf
NodeArray< EdgeArray< edge > > eH_to_eBlockEmbedding
a mapping of edges in the auxiliaryGraph of the BC-tree to blockG
Planar graph embedding with maximum external face (plus layers approach).
NodeArray< NodeArray< int > > cstrLength
is saving for each node in the block graphs its cstrLength
NodeArray< List< adjEntry > > newOrder
saves for every node of G the new adjacency list
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:472
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
NodeArray< Graph > blockG
all blocks
BCTree * pBCTree
BC-tree of the original graph.
Declaration of interface for embedder for graphs.
Declaration of class BCTree.
NodeArray< StaticSPQRTree * > spqrTrees
The SPQR-trees of the blocks.
Dynamic arrays indexed with nodes.
Definition: Graph_d.h:423
Declaration of class StaticSPQRTree.
Static BC-trees.
Definition: BCTree.h:56
NodeArray< bool > treeNodeTreated
treeNodeTreated saves for all block nodes in the BC-tree if it has already been treated or not...
NodeArray< NodeArray< int > > nodeLength
saving for each node in the block graphs its length
Class for the representation of nodes.
Definition: Graph_d.h:167
Encapsulates a pointer to a list element.
Definition: List.h:41
NodeArray< NodeArray< node > > nBlockEmbedding_to_nH
a mapping of nodes in blockG to the auxiliaryGraph of the BC-tree
NodeArray< EdgeArray< edge > > eBlockEmbedding_to_eH
a mapping of edges in blockG to the auxiliaryGraph of the BC-tree
NodeArray< NodeArray< node > > nH_to_nBlockEmbedding
a mapping of nodes in the auxiliaryGraph of the BC-tree to blockG
adjEntry * pAdjExternal
an adjacency entry on the external face
The namespace for all OGDF objects.
Base class for embedder algorithms.
Class for adjacency list elements.
Definition: Graph_d.h:78