A Linear Time Algorithm for Finding a Maximal Planar Subgraph Based on PC-Trees
نویسنده
چکیده
In Shih & Hsu, a planarity test was introduced utilizing a data structure called PC-trees, generalized from PQ-trees. They illustrated that a PC-tree is more natural IN representing planar graphs. Their algorithm starts by constructing a depth-first-search tree and adds all back edges to a vertex one by one. A major feature in the S&H algorithm is that, at each iteration, at most two terminal nodes need to be computed and the unique tree path between these two nodes provides essentially the boundary path of the newly formed biconnected component. In this paper we modify their PC-tree algorithm and introduce the deferred planarity test (DPT), which has the added benefit of finding a maximal planar subgraph (MPS) in linear time when the given graph is not planar. DPT is an incremental algorithm, which does not determine the terminal nodes and only computes a partial terminal path at each iteration. DPT continually deletes back edges that could create a violation to the formation of those partial terminal paths so that, at the end, the subgraph constructed is guaranteed to be planar. The key to the efficiency of the S&H and the DPT algorithms lies in their management of biconnected components in which the PC-tree plays a major role. The DPT algorithm has an even more concise description than that of the S&H algorithm. Previously, there have been reports that the MPS problem can be solved in linear time. However, there was no concrete data structure realizing them.
منابع مشابه
A Linear Algorithm for Finding a Maximal Planar Subgraph
We construct an optimal linear time algorithm for the maximal planar subgraph problem: given a graph G, nd a planar subgraph G 0 of G such that adding to G 0 any edge of G not present in G 0 leads to a non-planar graph. Our solution is based on a dynamic graph search procedure and a fast data structure for on-line planarity testing of triconnected graphs. Our algorithm can be transformed into a...
متن کاملA Linear-Time Algorithm for Finding a Maximal Planar Subgraph
We construct an optimal linear-time algorithm for the maximal planar subgraph problem: given a graph G, find a planar subgraph G′ of G such that adding to G′ an extra edge of G results in a non-planar graph. Our solution is based on a fast data structure for incremental planarity testing of triconnected graphs and a dynamic graph search procedure. Our algorithm can be transformed into a new opt...
متن کاملAn Efficient Implementation of the PC - Tree Algorithm of
In Shih & Hsu [9] a simpler planarity test was introduced utilizing a data structure called PC-trees (generalized from PQ-trees). In this paper we give an efficient implementation of that linear time algorithm and illustrate in detail how to obtain a Kuratowski’s subgraph when the given graph is not planar and how to obtain the embedding alongside the testing algorithm. The main part of the imp...
متن کاملAn Efficient Implementation of the PC-Tree Algorithm of Shih & Hsu’s Planarity Test
In Shih & Hsu [9] a simpler planarity test was introduced utilizing a data structure called PC-trees (generalized from PQ-trees). In this paper we give an efficient implementation of that linear time algorithm and illustrate in detail how to obtain a Kuratowski subgraph when the given graph is not planar, and how to obtain the embedding alongside the testing algorithm. We have implemented the a...
متن کاملSubgraph Induced Planar Connectivity Augmentation
Given a planar graph G = (V,E) and a vertex set W ⊆ V , the subgraph induced planar connectivity augmentation problem asks for a minimum cardinality set F of additional edges with end vertices in W such that G′ = (V,E∪F ) is planar and the subgraph of G′ induced by W is connected. The problem arises in automatic graph drawing in the context of c-planarity testing of clustered graphs. We describ...
متن کامل