Deciding the Feasibility and Minimizing the Height of Tangles

We study the following combinatorial problem. Given a set of $n$ y-monotone Jordan curves, called wires, a tangle determines the order of the wires on a number of horizontal layers such that the orders of the wires on any two consecutive layers differ only in swaps of neighboring wires. Given a multiset $L$ of swaps (that is, unordered pairs of wires) and an initial order of the wires, a tangle realizes $L$ if each pair of wires changes its order exactly as many times as specified by $L$. List-Feasibility is the problem of finding a tangle that realizes a given list $L$ for a prescribed initial order if such a tangle exists. The Tangle-Height Minimization problem additionally aims to find a tangle that uses the minimum number of layers. List-Feasibility (and therefore Tangle-Height Minimization) is NP-hard [Yamanaka et al., CCCG 2018]. We prove that List-Feasibility remains NP-hard if every pair of wires swaps only a constant number of times. On the positive side, we present an algorithm for Tangle-Height Minimization that computes an optimal tangle for $n$ wires and a given list $L$ of swaps in $O((|L|/n^2+1)^{n^2/2} \cdot \varphi^n \cdot n! \cdot n \cdot \min\{|L|,n^2\}\cdot \log|L|)$ time, where $\varphi \approx 1.618$ is the golden ratio and $|L|$ is the total number of swaps in $L$. Obviously, this algorithm solves List-Feasibility, too. We show that List-Feasibility can also be solved by a simpler and faster version of the algorithm. Moreover, the algorithm helps us to show that List-Feasibility is in NP and fixed-parameter tractable with respect to the number of wires. For simple lists, where every swap occurs at most once, we show how to solve Tangle-Height Minimization in $O(n!\varphi^n)$ time.

Authors

Institutions

Publication Details

Journal
Journal of Graph Algorithms and Applications
Published
2025-06-17
DOI
https://doi.org/10.7155/jgaa.v29i1.3053
Primary Topic
Genome Rearrangement Algorithms
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Deciding the Feasibility and Minimizing the Height of Tangles

Alexander Wolff, Alexander Ravsky, Oksana Firman, Philipp Kindermann et al.
Journal of Graph Algorithms and Applications
Genome Rearrangement Algorithms
article

Deciding the Feasibility and Minimizing the Height of Tangles

Alexander Wolff, Alexander Ravsky, Oksana Firman, Philipp Kindermann, Johannes Zink, Boris Klemz
article en

Abstract

We study the following combinatorial problem. Given a set of $n$ y-monotone Jordan curves, called wires, a tangle determines the order of the wires on a number of horizontal layers such that the orders of the wires on any two consecutive layers differ only in swaps of neighboring wires. Given a multiset $L$ of swaps (that is, unordered pairs of wires) and an initial order of the wires, a tangle realizes $L$ if each pair of wires changes its order exactly as many times as specified by $L$. List-Feasibility is the problem of finding a tangle that realizes a given list $L$ for a prescribed initial order if such a tangle exists. The Tangle-Height Minimization problem additionally aims to find a tangle that uses the minimum number of layers. List-Feasibility (and therefore Tangle-Height Minimization) is NP-hard [Yamanaka et al., CCCG 2018]. We prove that List-Feasibility remains NP-hard if every pair of wires swaps only a constant number of times. On the positive side, we present an algorithm for Tangle-Height Minimization that computes an optimal tangle for $n$ wires and a given list $L$ of swaps in $O((|L|/n^2+1)^{n^2/2} \cdot \varphi^n \cdot n! \cdot n \cdot \min\{|L|,n^2\}\cdot \log|L|)$ time, where $\varphi \approx 1.618$ is the golden ratio and $|L|$ is the total number of swaps in $L$. Obviously, this algorithm solves List-Feasibility, too. We show that List-Feasibility can also be solved by a simpler and faster version of the algorithm. Moreover, the algorithm helps us to show that List-Feasibility is in NP and fixed-parameter tractable with respect to the number of wires. For simple lists, where every swap occurs at most once, we show how to solve Tangle-Height Minimization in $O(n!\varphi^n)$ time.

Journal of Graph Algorithms and ApplicationsVol. 29(1)
National Academy of Sciences of Ukraine (UA), University of Würzburg (DE), Universität Trier (DE)
Openalex Percentile: Top 84%
Genome Rearrangement Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.