|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
44 class Triconnectivity;
113 init(G.firstEdge(), tricComp);
150 List<node> nodesOfType(NodeType t)
const override;
219 if (eOrig !=
nullptr) {
220 cpAddEdge(eOrig, Gp);
The namespace for all OGDF objects.
Includes declaration of graph class.
NodeArray< StaticSkeleton * > m_sk
pointer to skeleton of a node in T
Linear-time implementation of static SPQR-trees.
EdgeArray< edge > m_skEdgeSrc
corresponding edge in skeleton(source(e))
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
Skeleton graphs of nodes in a static SPQR-tree.
Declaration of class SPQRTree.
virtual edge realEdge(edge e) const =0
Returns the real edge that corresponds to skeleton edge e.
edge copyOfReal(edge e) const override
Returns the skeleton edge that corresponds to the real edge e.
edge skeletonEdgeSrc(edge e) const
Returns the edge in skeleton of source(e) that corresponds to tree edge e.
int numberOfRNodes() const override
Returns the number of R-nodes in T.
Linear-time implementation of static SPQR-trees.
const Skeleton & skeletonOfReal(edge e) const override
Returns the skeleton that contains the real edge e.
EdgeArray< edge > m_skEdgeTgt
corresponding edge in skeleton(target(e))
int numberOfSNodes() const override
Returns the number of S-nodes in T.
StaticSPQRTree(const Graph &G, Triconnectivity &tricComp)
Creates an SPQR tree T for graph G rooted at the first edge of G.
Class for adjacency list elements.
int m_numS
number of S-nodes
EdgeArray< StaticSkeleton * > m_skOf
skeleton containing real edge e
Skeleton & skeleton(node v) const override
Returns the skeleton of node v.
edge skeletonEdgeTgt(edge e) const
Returns the edge in skeleton of target(e) that corresponds to tree edge e.
edge theEdge() const
Returns the edge associated with this adjacency entry.
NodeArray< NodeType > m_type
type of nodes in T
EdgeArray< edge > m_copyOf
skeleton edge corresponding to real edge e
Declaration of class Skeleton.
Declaration of class StaticSkeleton.
Graph m_tree
underlying tree graph
int m_numP
number of P-nodes
Decralation of GraphElement and GraphList classes.
edge rootEdge() const override
Returns the edge of G at which T is rooted.
internal::GraphObjectContainer< AdjElement > adjEntries
The container containing all entries in the adjacency list of this node.
int m_numR
number of R-nodes
node m_rootNode
root node of T
Doubly linked lists (maintaining the length of the list).
RegisteredArray for nodes, edges and adjEntries of a graph.
StaticSPQRTree(const Graph &G, edge e)
Creates an SPQR tree T for graph G rooted at the edge e.
const Graph & originalGraph() const override
Returns a reference to the original graph G.
Data type for general directed graphs (adjacency list representation).
int numberOfPNodes() const override
Returns the number of P-nodes in T.
const Graph & getGraph() const
Returns a reference to the skeleton graph M.
const Graph * m_pGraph
pointer to original graph
NodeType typeOf(node v) const override
Returns the type of node v.
edge m_rootEdge
edge of G at which T is rooted
const Graph & tree() const override
Returns a reference to the tree T.
internal::GraphObjectContainer< EdgeElement > edges
The container containing all edge objects.
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
node rootNode() const override
Returns the root node of T.
Class for the representation of edges.
Declaration of doubly linked lists and iterators.
Skeleton graphs of nodes in an SPQR-tree.
Pertinent graphs of nodes in an SPQR-tree.
realizes Hopcroft/Tarjan algorithm for finding the triconnected components of a biconnected multi-gra...
node target() const
Returns the target node of the edge.
Class for the representation of nodes.
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...
StaticSPQRTree(const Graph &G)
Creates an SPQR tree T for graph G rooted at the first edge of G.
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.