View on GitHub

The PBBS Benchmarks

New version of pbbs benchmarks

Delaunay Triangulation (DT)

Given a set of points in 2 dimensions generate the Delaunay triangulation. The input should be a sequence of points, each a pair of double precision floating-point numbers. By default one can assume the points are in general position (no three on a line or four on a circle) and that double precision arithmetic for in-circle tests suffice. Our input sets satisfy these conditions. The purpose of this benchmark is not to compare state-of-the-art exact geometric predicates. If the implementation is robust in general, then this can be noted.

The triangulation can add points. Such points can be used, for example, to insert points at the corners of a bounding triangle around the original points. The triangulation needs to be a proper Delaunay triangulation of all points.

The output must be a sequence of points and a sequence of triangles. The points should start with the original points and can have the extra points at the end. The triangles should be represented as tripple of integer indices indicating the position of its three corner points in the input sequence (zero based). Triangles can be in any order.

Default Input Distributions

The distributions are:

The large size is n = 10 million, and the small size is n = 1 million.

Input and Output File Formats

The input needs to be in the 2dpoints file format. The output needs to be in triangle file format.