|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
118 node rootNode()
const override {
return findSPQR(m_bNode_SPQR[m_B.firstNode()]); }
136 List<node> nodesOfType(NodeType t)
const override;
140 return findPathSPQR(m_gNode_hNode[s], m_gNode_hNode[t]);
150 return createSkeleton(v);
160 return skeleton(spqrproper(m_gEdge_hEdge[e]));
168 e = m_gEdge_hEdge[e];
169 skeleton(spqrproper(e));
170 return m_skelEdge[e];
179 edge e = virtualEdge(v, w);
184 return m_skelEdge[e];
207 edge updateInsertedEdge(
edge e)
override;
230 edge e = m_hEdge_gEdge[*i];
233 }
else if (*i != m_tNode_hRefEdge[v]) {
234 cpRec(spqrproper(*i), Gp);
The namespace for all OGDF objects.
Includes declaration of graph class.
Skeleton graphs of nodes in a dynamic SPQR-tree.
edge copyOfReal(edge e) const override
Returns the skeleton edge that corresponds to the real edge e.
Declaration of class SPQRTree.
Linear-time implementation of dynamic SPQR-trees.
HypergraphRegistry< HypernodeElement >::iterator begin(const HypergraphRegistry< HypernodeElement > &self)
const Graph & tree() const override
Returns a reference to the tree T.
Singly linked lists (maintaining the length of the list).
DynamicSPQRTree(Graph &G)
Creates an SPQR tree T for graph G rooted at the first edge of G.
Linear-time implementation of static SPQR-trees.
node rootNode() const override
Returns the root node of T.
edge rootEdge() const override
Returns the edge of G at which T is rooted.
const Graph & originalGraph() const override
Returns a reference to the original graph G.
DynamicSPQRTree(Graph &G, edge e)
Creates an SPQR tree T for graph G rooted at the edge e.
void cpRec(node v, PertinentGraph &Gp) const override
Recursively performs the task of adding edges (and nodes) to the pertinent graph Gp for each involved...
NodeArray< DynamicSkeleton * > m_sk
pointer to skeleton of a node in T
int numberOfRNodes() const override
Returns the number of R-nodes in T.
Declaration of class DynamicSPQRForest.
EdgeArray< edge > m_skelEdge
copies of real and virtual edges in their skeleton graphs (invalid, if the skeleton does not actually...
Doubly linked lists (maintaining the length of the list).
RegisteredArray for nodes, edges and adjEntries of a graph.
Data type for general directed graphs (adjacency list representation).
NodeType typeOf(node v) const override
Returns the type of node v.
edge skeletonEdge(node v, node w) const
Returns the virtual edge in the skeleton of w that corresponds to the tree edge between v and w.
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
NodeType
The type of a tree node in T.
edge m_rootEdge
edge of G at which T is rooted
Class for the representation of edges.
Skeleton & skeleton(node v) const override
Returns the skeleton of node v.
int numberOfPNodes() const override
Returns the number of P-nodes in T.
Declaration of doubly linked lists and iterators.
Skeleton graphs of nodes in an SPQR-tree.
Pertinent graphs of nodes in an SPQR-tree.
const Skeleton & skeletonOfReal(edge e) const override
Returns the skeleton that contains the real edge e.
Encapsulates a pointer to a list element.
SList< node > & findPath(node s, node t)
Finds the shortest path between the two sets of vertices of T which s and t of G belong to.
int numberOfSNodes() const override
Returns the number of S-nodes in T.
Declaration of class DynamicSkeleton.
Class for the representation of nodes.
NodeArray< node > m_mapV
temporary array used by createSkeleton()
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.