A Simple Sweep Line Algorithm for Counting Triangulations and Pseudo-triangulations

preprint2013arXivOpen access

Abstract

Let P⊂R2P\subset\mathbb{R}^{2} be a set of nn points. In this paper we show two new algorithms, one to compute the number of triangulations of PP, and one to compute the number of pseudo-triangulations of PP. We show that our algorithms run in time O∗(t(P))O^{*}(t(P)) and O∗(pt(P))O^{*}(pt(P)) respectively, where t(P)t(P) and pt(P)pt(P) are the largest number of triangulation paths (T-paths) and pseudo-triangulations paths (PT-paths), respectively, that the algorithms encounter during their execution. Moreover, we show that t(P)=O∗(9n)t(P) = O^{*}(9^{n}), which is the first non-trivial bound on t(P)t(P) to be known. While there already are algorithms that count triangulations in O∗(2n)O^{*}\left(2^n\right), and O∗(3.1414n)O^{*}\left(3.1414^{n}\right), there are sets of points where the number of T-paths is O(2n)O(2^{n}). In such cases the algorithm herein presented could potentially be faster. Furthermore, it is not clear whether the already-known algorithms can be modified to count pseudo-triangulations so that their running times remain O∗(cn)O^{*}(c^n), for some small constant c∈Rc\in\mathbb{R}. Therefore, for counting pseudo-triangulations (and possibly other similar structures) our approach seems better.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.