We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:


Current browse context:


Change to browse by:

References & Citations

DBLP - CS Bibliography


(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Data Structures and Algorithms

Title: Minimum projective linearizations of trees in linear time

Abstract: The Minimum Linear Arrangement problem (MLA) consists of finding a mapping $\pi$ from vertices of a graph to distinct integers that minimizes $\sum_{\{u,v\}\in E}|\pi(u) - \pi(v)|$. In that setting, vertices are often assumed to lie on a horizontal line and edges are drawn as semicircles above said line. For trees, various algorithms are available to solve the problem in polynomial time in $n=|V|$. There exist variants of the MLA in which the arrangements are constrained. Iordanskii, and later Hochberg and Stallmann (HS), put forward $O(n)$-time algorithms that solve the problem when arrangements are constrained to be planar (also known as one-page book embeddings). We also consider linear arrangements of rooted trees that are constrained to be projective (planar embeddings where the root is not covered by any edge). Gildea and Temperley (GT) sketched an algorithm for projective arrangements which they claimed runs in $O(n)$ but did not provide any justification of its cost. In contrast, Park and Levy claimed that GT's algorithm runs in $O(n \log d_{max})$ where $d_{max}$ is the maximum degree but did not provide sufficient detail. Here we correct an error in HS's algorithm for the planar case, show its relationship with the projective case, and derive simple algorithms for the projective and planar cases that run without a doubt in $O(n)$ time.
Comments: Updated with latest revision submitted to journal
Subjects: Data Structures and Algorithms (cs.DS); Computation and Language (cs.CL); Discrete Mathematics (cs.DM)
Journal reference: Information Processing Letters, 174:106204 (2022)
DOI: 10.1016/j.ipl.2021.106204
Cite as: arXiv:2102.03277 [cs.DS]
  (or arXiv:2102.03277v5 [cs.DS] for this version)

Submission history

From: Lluís Alemany-Puig [view email]
[v1] Fri, 5 Feb 2021 16:35:38 GMT (107kb,D)
[v2] Wed, 17 Feb 2021 14:20:33 GMT (111kb,D)
[v3] Mon, 26 Jul 2021 14:02:41 GMT (119kb,D)
[v4] Wed, 8 Sep 2021 15:19:02 GMT (119kb,D)
[v5] Tue, 3 May 2022 09:21:04 GMT (119kb,D)

Link back to: arXiv, form interface, contact.