Definition
The class PertinentGraph represents the pertinent graph
G(v)
of a node
v
in an SPQR-tree
with original
graph G.
The expansion graph E(e) of a virtual skeleton edge e is
the skeleton graph of the twin e' of e without e', where
each virtual edge ev again is replaced by its expansion
graph E(ev). The pertinent graph
G(v) of
a tree node
v
is obtained from the skeleton S of
v
, where each edge except for the reference edge
of S is replaced by its expansion graph. Hence, if
v
is not the root node of
, all but one edge (and its
reversal) in
G(v
) correspond to real edges, otherwise
all edges correspond to real edges.
The underlying graph, which is returned by get_graph(), represents a map,
that is, for each edge (u, v) also the reversal (v, u) exists.
If P is the pertinent graph of a PlanarSPQRTree, the
underlying graph is a planar map, whose embedding is implied by
the embeddings of the skeletons of .
#include < AGD/PertinentGraph.h >
Creation
Pertinent graphs are created by the pertinent_graph() function of SPQRTree.
PertinentGraph | P | creates an empty instance of type PertinentGraph. |
Operations
Implementation
All operations take constant time. The data structure uses
(| G(v
)|) space.
© Copyright 1998-2001, Algorithmic Solutions Software GmbH. All rights reserved.
2001-08-13