English

Counting Triangulations and other Crossing-free Structures via Onion Layers

Computational Geometry 2013-12-18 v1 Computational Complexity Data Structures and Algorithms Combinatorics

Abstract

Let PP be a set of nn points in the plane. A crossing-free structure on PP is a plane graph with vertex set PP. Examples of crossing-free structures include triangulations of PP, spanning cycles of PP, also known as polygonalizations of PP, among others. In this paper we develop a general technique for computing the number of crossing-free structures of an input set PP. We apply the technique to obtain algorithms for computing the number of triangulations, matchings, and spanning cycles of PP. The running time of our algorithms is upper bounded by nO(k)n^{O(k)}, where kk is the number of onion layers of PP. In particular, for k=O(1)k = O(1) our algorithms run in polynomial time. In addition, we show that our algorithm for counting triangulations is never slower than O(3.1414n)O^{*}(3.1414^{n}), even when k=Θ(n)k = \Theta(n). Given that there are several well-studied configurations of points with at least Ω(3.464n)\Omega(3.464^{n}) triangulations, and some even with Ω(8n)\Omega(8^{n}) triangulations, our algorithm asymptotically outperforms any enumeration algorithm for such instances. In fact, it is widely believed that any set of nn points must have at least Ω(3.464n)\Omega(3.464^{n}) triangulations. If this is true, then our algorithm is strictly sub-linear in the number of triangulations counted. We also show that our techniques are general enough to solve the "Restricted-Triangulation-Counting-Problem", which we prove to be W[2]W[2]-hard in the parameter kk. This implies a "no free lunch" result: In order to be fixed-parameter tractable, our general algorithm must rely on additional properties that are specific to the considered class of structures.

Keywords

Cite

@article{arxiv.1312.4628,
  title  = {Counting Triangulations and other Crossing-free Structures via Onion Layers},
  author = {Victor Alvarez and Karl Bringmann and Radu Curticapean and Saurabh Ray},
  journal= {arXiv preprint arXiv:1312.4628},
  year   = {2013}
}

Comments

33 pages, 10 figures, 9 tables. A preliminary version appeared at SoCG 2012. This version contains experimental results comparing algorithms for counting triangulations. This paper has been submitted to a journal