Table of Contents
Fetching ...

A Simple Partially Embedded Planarity Test Based on Vertex-Addition

Simon D. Fink, Ignaz Rutter, Sandhya T. P

TL;DR

An independent linear-time algorithm that works along the well-known vertex-addition planarity test by Booth and Lueker is given, and the PC-tree is modified as underlying data structure used for representing all planar drawing possibilities in a natural way to also respect the restrictions given by the prescribed drawing of the subgraph.

Abstract

In the Partially Embedded Planarity problem, we are given a graph $G$ together with a topological drawing of a subgraph $H$ of $G$. The task is to decide whether the drawing can be extended to a drawing of the whole graph such that no two edges cross. Angelini et al. gave a linear-time algorithm for solving this problem in 2010 (SODA '10). While their paper constitutes a significant result, the algorithm described therein is highly complex: it uses several layers of decompositions according to connectivity of both $G$ and $H$, its description spans more than 30 pages, and can hardly be considered implementable. We give an independent linear-time algorithm that works along the well-known vertex-addition planarity test by Booth and Lueker. We modify the PC-tree as underlying data structure used for representing all planar drawing possibilities in a natural way to also respect the restrictions given by the prescribed drawing of the subgraph $H$. The testing algorithm and its proof of correctness only require small adaptations from the comparatively much simpler generic planarity test, of which several implementations exist. If the test succeeds, an embedding can be constructed using the same approaches that are used for the generic planarity test.

A Simple Partially Embedded Planarity Test Based on Vertex-Addition

TL;DR

An independent linear-time algorithm that works along the well-known vertex-addition planarity test by Booth and Lueker is given, and the PC-tree is modified as underlying data structure used for representing all planar drawing possibilities in a natural way to also respect the restrictions given by the prescribed drawing of the subgraph.

Abstract

In the Partially Embedded Planarity problem, we are given a graph together with a topological drawing of a subgraph of . The task is to decide whether the drawing can be extended to a drawing of the whole graph such that no two edges cross. Angelini et al. gave a linear-time algorithm for solving this problem in 2010 (SODA '10). While their paper constitutes a significant result, the algorithm described therein is highly complex: it uses several layers of decompositions according to connectivity of both and , its description spans more than 30 pages, and can hardly be considered implementable. We give an independent linear-time algorithm that works along the well-known vertex-addition planarity test by Booth and Lueker. We modify the PC-tree as underlying data structure used for representing all planar drawing possibilities in a natural way to also respect the restrictions given by the prescribed drawing of the subgraph . The testing algorithm and its proof of correctness only require small adaptations from the comparatively much simpler generic planarity test, of which several implementations exist. If the test succeeds, an embedding can be constructed using the same approaches that are used for the generic planarity test.

Paper Structure

This paper contains 1 section, 1 figure, 1 algorithm.

Table of Contents

  1. Preliminaries

Figures (1)

  • Figure 1: (a) A PC-tree $T$ on the set $L(T)=\{1,\ldots,8\}$ with only P-nodes as inner nodes. The red leaves belong to a set $A$ and their terminal path (described in \ref{['lem:ccpc-update', 'sec:pc-tree-details']}) is highlighted in red. (b) The PC-tree ${T} + {A}$ ensuring that the edges in $A$ are consecutive. Here, $E(T,A)$ consists of the three edges marked in red incident to C-node $\mu$. (c) The PC-trees $T'= ({T} + {A})[{2} \to {\ell}]$ (left) and $T"= ({T} + {A})[{A^c} \to {\ell}]$ (right) showing the split of the previous tree and how $\mu$ is split into two parts $\mu'$ and $\mu"$. (d) The PC-tree ${T'} \otimes_{\ell} {T"}$ showing the merge of the previous two trees.