Minimum projective linearizations of trees in linear time

02/05/2021
by   Lluís Alemany-Puig, et al.
0

The minimum linear arrangement problem (MLA) consists of finding a mapping π from vertices of a graph to integers that minimizes ∑_uv∈ E|π(u) - π(v)|. For trees, various algorithms are available to solve the problem in polynomial time; the best known runs in subquadratic time in n=|V|. There exist variants of the MLA in which the arrangements are constrained to certain classes of projectivity. Iordanskii, and later Hochberg and Stallmann (HS), put forward O(n)-time algorithms that solve the problem when arrangements are constrained to be planar. We also consider linear arrangements of rooted trees that are constrained to be projective. Gildea and Temperley (GT) sketched an algorithm for the projectivity constraint which, as 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 an algorithm for the projective case that runs undoubtlessly in O(n)-time.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/14/2022

The Maximum Linear Arrangement Problem for trees under projectivity and planarity

The Maximum Linear Arrangement problem (MaxLA) consists of finding a map...
research
04/23/2018

Maximum Integer Flows in Directed Planar Graphs with Multiple Sources and Sinks and Vertex Capacities

We consider the problem of finding maximum flows in planar graphs with c...
research
08/26/2022

Testing Upward Planarity of Partial 2-Trees

We present an O(n^2)-time algorithm to test whether an n-vertex directed...
research
03/01/2020

Faster Greedy Consensus Trees

We consider the tree consensus problem, an important problem in bioinfor...
research
09/09/2021

Fast Algorithms for Minimum Cycle Basis and Minimum Homology Basis

We study the problem of finding a minimum homology basis, that is, a sho...
research
09/25/2020

An SPQR-Tree-Like Embedding Representation for Level Planarity

An SPQR-tree is a data structure that efficiently represents all planar ...
research
03/01/2020

An Algorithm for Consensus Trees

We consider the tree consensus problem, an important problem in bioinfor...

Please sign up or login with your details

Forgot password? Click here to reset