Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

EmbedderMaxFace.h
Go to the documentation of this file.
1 
32 #pragma once
33 
37 
38 namespace ogdf {
39 
41 
48 {
49 public:
50  //constructor and destructor
53 
59  virtual void doCall(Graph& G, adjEntry& adjExternal) override;
60 
61 private:
68  void computeBlockGraphs(const node& bT, const node& cH);
69 
77  int constraintMaxFace(const node& bT, const node& cH);
78 
87  void maximumFaceRec(const node& bT, node& bT_opt, int& ell_opt);
88 
95  void embedBlock(const node& bT);
96 
107  void embedBlock(const node& bT, const node& cT, ListIterator<adjEntry>& after);
108 
109 private:
112 
115 
118 
121 
124 
127 
130 
133 
136 
139 
143 
146 };
147 
148 } // end namespace ogdf
NodeArray< NodeArray< node > > nBlockEmbedding_to_nH
a mapping of nodes in blockG to the auxiliaryGraph of the BC-tree
NodeArray< StaticSPQRTree * > spqrTrees
The SPQR-trees of the blocks.
NodeArray< NodeArray< int > > nodeLength
saving for each node in the block graphs its length
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< List< adjEntry > > newOrder
saves for every node of PG the new adjacency list
adjEntry * pAdjExternal
an adjacency entry on the external face
NodeArray< EdgeArray< edge > > eH_to_eBlockEmbedding
a mapping of edges in the auxiliaryGraph of the BC-tree to blockG
Declaration of interface for embedder for graphs.
Declaration of class BCTree.
NodeArray< bool > treeNodeTreated
treeNodeTreated saves for all block nodes in the BC-tree if it has already been treated or not...
Dynamic arrays indexed with nodes.
Definition: Graph_d.h:423
Declaration of class StaticSPQRTree.
BCTree * pBCTree
BC-tree of the original graph.
Static BC-trees.
Definition: BCTree.h:56
NodeArray< NodeArray< int > > cstrLength
is saving for each node in the block graphs its cstrLength
Class for the representation of nodes.
Definition: Graph_d.h:167
Encapsulates a pointer to a list element.
Definition: List.h:41
Planar graph embedding with maximum external face.
NodeArray< NodeArray< node > > nH_to_nBlockEmbedding
a mapping of nodes in the auxiliaryGraph of the BC-tree to blockG
NodeArray< Graph > blockG
all blocks
The namespace for all OGDF objects.
Base class for embedder algorithms.
Class for adjacency list elements.
Definition: Graph_d.h:78
NodeArray< EdgeArray< edge > > eBlockEmbedding_to_eH
a mapping of edges in blockG to the auxiliaryGraph of the BC-tree