A straight-line drawing $\delta$ of a planar graph $G$ need not be plane, but
can be made so by \emph{untangling} it, that is, by moving some of the vertices
of $G$. Let shift$(G,\delta)$ denote the minimum number of vertices that need
to be moved to untangle $\delta$. We show that shift$(G,\delta)$ is NP-hard to
compute and to approximate. Our hardness results extend to a version of
\textsc{1BendPointSetEmbeddability}, a well-known graph-drawing problem.
Further we define fix$(G,\delta)=n-shift(G,\delta)$ to be the maximum number
of vertices of a planar $n$-vertex graph $G$ that can be fixed when untangling
$\delta$. We give an algorithm that fixes at least $\sqrt{((\log n)-1)/\log
\log n}$ vertices when untangling a drawing of an $n$-vertex graph $G$. If $G$
is outerplanar, the same algorithm fixes at least $\sqrt{n/2}$ vertices. On the
other hand we construct, for arbitrarily large $n$, an $n$-vertex planar graph
$G$ and a drawing $\delta_G$ of $G$ with fix$(G,\delta_G) \le \sqrt{n-2}+1$ and
an $n$-vertex outerplanar graph $H$ and a drawing $\delta_H$ of $H$ with
fix$(H,\delta_H) \le 2 \sqrt{n-1}+1$. Thus our algorithm is asymptotically
worst-case optimal for outerplanar graphs.Comment: (v5) Minor, mostly linguistic change
Let P be a set of n points in the plane. The geometric minimum-diameter spanning tree (MDST) of P is a tree that spans P and minimizes the Euclidian length of the longest path. It is known that there is always a mono-or a dipolar MDST, i.e. a MDST with one or two nodes of degree greater 1, respectively. The more difficult dipolar case can so far only be solved in slightly subcubic time.This paper has two aims. First, we present a solution to a new data structure for facility location, the minimum-sum dipolar spanning tree (MSST), that mediates between the minimum-diameter dipolar spanning tree and the discrete two-center problem (2CP) in the following sense: find two centers p and q in P that minimize the sum of their distance plus the distance of any other point (client) to the closer center. This is of interest if the two centers do not only serve their customers (as in the case of the 2CP), but frequently have to exchange goods or personnel between themselves. We show that this problem can be solved in O(n 2 log n) time and that it yields a factor-4/3 approximation of the MDST.Second, we give two fast approximation schemes for the MDST, i.e. factor-(1 + ε) approximation algorithms. One uses a grid and takes O * (E 6−1/3 + n) time, where E = 1/ε and the O * -notation hides terms of type O(log O(1) E). The other uses the wellseparated pair decomposition and takes O(nE 3 + En log n) time. A combination of the two approaches runs in O * (E 5 + n) time. Both schemes can also be applied to MSST and 2CP.1 Very recently we were informed of [SKB + 02] where the authors give an approximation scheme for the MDST that runs in O(ε −3 + n) time using O(n) space.
Given a planar convex set C, we give sublinear approximation algorithms to determine approximations of the largest axially symmetric convex set S contained in C, and the smallest such set S that contains C. More precisely, for any ε > 0, we find an axially symmetric convex polygon Q ⊂ C with area |Q| > (1 − ε)|S| and we find an axially symmetric convex polygon Q containing C with area |Q | < (1 + ε)|S |. We assume that C is given in a data structure that allows to answer the following two types of query in time T C : given a direction u, find an extreme point of C in direction u, and given a line , find C ∩. For instance, if C is a convex n-gon and its vertices are given in a sorted array, then T C = O(log n). Then we can find Q and Q in time O(ε −1/2 T C + ε −3/2). Using these techniques, we can also find approximations to the perimeter, area, diameter, width, smallest enclosing rectangle and smallest enclosing circle of C in time O(ε −1/2 T C).
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.