#include <DynamicPlanarSPQRTree.h>

Public Member Functions | |
| DynamicPlanarSPQRTree (Graph &G, bool isEmbedded=false) | |
| Creates an SPQR tree T for planar graph G rooted at the first edge of G. | |
| DynamicPlanarSPQRTree (Graph &G, edge e, bool isEmbedded=false) | |
| Creates an SPQR tree T for planar graph G rooted at edge e. | |
The class DynamicPlanarSPQRTree maintains the triconnected components of a planar biconnected graph G and represents all possible embeddings of G. Each skeleton graph is embedded.
The current embeddings of the skeletons define an embedding of G. There are two basic operations for obtaining another embedding of G: reverse(v), which flips the skeleton of an R-node v around its poles, and swap(v,e_1,e_2), which exchanges the positions of the edges e_1 and e_2 in the skeleton of a P-node v.
Definition at line 89 of file DynamicPlanarSPQRTree.h.
| ogdf::DynamicPlanarSPQRTree::DynamicPlanarSPQRTree | ( | Graph & | G, | |
| bool | isEmbedded = false | |||
| ) | [inline] |
Creates an SPQR tree T for planar graph G rooted at the first edge of G.
If isEmbedded is set to true, G must represent a combinatorial embedding, i.e., the counter-clockwise order of the adjacency entries around each vertex defines an embedding.
Definition at line 103 of file DynamicPlanarSPQRTree.h.
| ogdf::DynamicPlanarSPQRTree::DynamicPlanarSPQRTree | ( | Graph & | G, | |
| edge | e, | |||
| bool | isEmbedded = false | |||
| ) | [inline] |
Creates an SPQR tree T for planar graph G rooted at edge e.
If isEmbedded is set to true, G must represent a combinatorial embedding, i.e., the counter-clockwise order of the adjacency entries around each vertex defines an embedding.
Definition at line 118 of file DynamicPlanarSPQRTree.h.