Computing Optimal Tangles Faster

01/19/2019
by   Oksana Firman, et al.
0

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 find 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/27/2020

The Complexity of Finding Tangles

We study the following combinatorial problem. Given a set of n y-monoton...
research
02/23/2023

Simultaneous Drawing of Layered Trees

We study the crossing minimization problem in a layered graph drawing of...
research
05/12/2018

Optimal switching sequence for switched linear systems

We study a discrete optimization problem over a dynamical system that co...
research
09/21/2022

The Dispersive Art Gallery Problem

We introduce a new variant of the art gallery problem that comes from sa...
research
10/17/2021

On Monotonicity of Number-Partitioning Algorithms

An algorithm for number-partitioning is called value-monotone if wheneve...
research
02/20/2018

Selection from heaps, row-sorted matrices and X+Y using soft heaps

We use soft heaps to obtain simpler optimal algorithms for selecting the...
research
12/18/2017

Network Coding Algorithms for Multi-Layered Video Broadcast

In this paper we give network coding algorithms for multi-layered video ...

Please sign up or login with your details

Forgot password? Click here to reset