### Computing Height-Optimal Tangles Faster [article]

Oksana Firman, Philipp Kindermann, Alexander Ravsky, Alexander Wolff, Johannes Zink
<span title="2019-09-05">2019</span> <i > arXiv </i> &nbsp; <span class="release-stage" >pre-print</span>
We study the following combinatorial problem. Given a set of n y-monotone 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 numbers between 1 and n) 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. The aim is to
more &raquo; ... a tangle that realizes L using the smallest number of layers. We show that this problem is NP-hard, and we give an algorithm that computes an optimal tangle for n wires and a given list L of swaps in O((2|L|/n^2+1)^n^2/2·φ^n · n) time, where φ≈ 1.618 is the golden ratio. We can treat lists where every swap occurs at most once in O(n!φ^n) time. We implemented the algorithm for the general case and compared it to an existing algorithm. Finally, we discuss feasibility for lists with a simple structure.
<span class="external-identifiers"> <a target="_blank" rel="external noopener" href="https://arxiv.org/abs/1901.06548v5">arXiv:1901.06548v5</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/3ubpsd53mnb4bgbq7y3lzprjqi">fatcat:3ubpsd53mnb4bgbq7y3lzprjqi</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20201025055315/https://arxiv.org/pdf/1901.06548v5.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/22/4a/224a80ca03178f33acd54049f03af4116e786685.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener" href="https://arxiv.org/abs/1901.06548v5" title="arxiv.org access"> <button class="ui compact blue labeled icon button serp-button"> <i class="file alternate outline icon"></i> arxiv.org </button> </a>