Counting crossing-free structures

Let P be a set of $n$ points in the plane. A crossing-free structure on P is a straight-edge planar graph with vertex set in P. Examples of crossing-free structures include triangulations of P, and spanning cycles of P, also known as polygonalizations of P, among others. There has been a large amount of research trying to bound the number of such structures. In particular, bounding the number of triangulations spanned by P has received considerable attention. It is currently known that every set of n points has at most O(30n) and at least Ω(2.43n) triangulations. However, much less is known about the algorithmic problem of counting crossing-free structures of a given set P. For example, no algorithm for counting triangulations is known that, on all instances, performs faster than enumerating all triangulations. In this paper we develop a general technique for computing the number of crossing-free structures of an input set P. We apply the technique to obtain algorithms for computing the number of triangulations and spanning cycles of P. The running time of our algorithms is upper bounded by nO(k), where k is the number of onion layers of P. In particular, we show that our algorithm for counting triangulations is not slower than O(3.1414n). Given that there are several well-studied configurations of points with at least Ω(3.464n) triangulations, and some even with Ω(8n) triangulations, our algorithm is the first to asymptotically outperform any enumeration algorithm for such instances. In fact, it is widely believed that any set of n points must have at least Ω(3.464n) 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]-hard in the parameter k. 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.

[1]  Emo Welzl,et al.  Counting Plane Graphs with Exponential Speed-Up , 2011, Rainbow of Computer Science.

[2]  Ketan Dalal,et al.  Counting the onion , 2004, Random Struct. Algorithms.

[3]  Micha Sharir,et al.  Counting plane graphs: perfect matchings, spanning cycles, and Kasteleyn's technique , 2011, SoCG '12.

[4]  André Schulz The Existence of a Pseudo-triangulation in a given Geometric Graph , 2006 .

[5]  Micha Sharir,et al.  Counting plane graphs: Perfect matchings, spanning cycles, and Kasteleyn's technique , 2013, J. Comb. Theory, Ser. A.

[6]  Errol L. Lloyd On triangulations of a set of points in the plane , 1977, 18th Annual Symposium on Foundations of Computer Science (sfcs 1977).

[7]  Shin-ichi Tanigawa,et al.  Fast enumeration algorithms for non-crossing geometric graphs , 2008, SCG '08.

[8]  Micha Sharir,et al.  On degrees in random triangulations of point sets , 2011, J. Comb. Theory, Ser. A.

[9]  Jörg Flum,et al.  Parameterized Complexity Theory , 2006, Texts in Theoretical Computer Science. An EATCS Series.

[10]  Micha Sharir,et al.  Counting Triangulations of Planar Point Sets , 2009, Electron. J. Comb..

[11]  Derek G. Corneil,et al.  Polynomial-time Instances of the Minimum Weight Triangulation Problem , 1993, Comput. Geom..

[12]  Karl Bringmann,et al.  A Simple Sweep Line Algorithm for Counting Triangulations and Pseudo-triangulations , 2013, ArXiv.

[13]  Micha Sharir,et al.  On degrees in random triangulations of point sets , 2010, SoCG '10.

[14]  Oswin Aichholzer The path of a triangulation , 1999, SCG '99.

[15]  Jörg Flum,et al.  Parameterized Complexity Theory (Texts in Theoretical Computer Science. An EATCS Series) , 2006 .

[16]  E. Szemerédi,et al.  Crossing-Free Subgraphs , 1982 .

[17]  Raimund Seidel,et al.  A simple and less slow method for counting triangulations and for related problems , 2004 .

[18]  Marc Noy,et al.  Lower bounds on the number of crossing-free subgraphs of KN , 2000, Comput. Geom..

[19]  Ferran Hurtado,et al.  On the number of plane graphs , 2006, SODA '06.