English

Graph Threading

Data Structures and Algorithms 2024-05-29 v2

Abstract

Inspired by artistic practices such as beadwork and himmeli, we study the problem of threading a single string through a set of tubes, so that pulling the string forms a desired graph. More precisely, given a connected graph (where edges represent tubes and vertices represent junctions where they meet), we give a polynomial-time algorithm to find a minimum-length closed walk (representing a threading of string) that induces a connected graph of string at every junction. The algorithm is based on a surprising reduction to minimum-weight perfect matching. Along the way, we give tight worst-case bounds on the length of the optimal threading and on the maximum number of times this threading can visit a single edge. We also give more efficient solutions to two special cases: cubic graphs and the case when each edge can be visited at most twice.

Keywords

Cite

@article{arxiv.2309.10122,
  title  = {Graph Threading},
  author = {Erik D. Demaine and Yael Kirkpatrick and Rebecca Lin},
  journal= {arXiv preprint arXiv:2309.10122},
  year   = {2024}
}

Comments

19 pages, 6 figures