Home Bookmarks Search (Re)search Papers

Program
A Practical Approach for Computing the Diameter of a Point-Set

Sariel Har-Peled

Based on program written by Gill Barequet


This is the implementation of the algorithm described here.
The code provided below can do the following things:
  1. Compute the exact diameter of a point-set in 3d. Seems to be linear time for most ``real'' inputs. Can be quadratic in the worst case.
  2. Approximate the diameter of a point-set up to a prespecified approximation parameter. Running-time depends on the parameter, and for reasonable value of this parameter it is linear.
  3. Compute a tight-fitting bonding-box that contains a given input point-set. The bounding box is arbitrarly oriented. Based on the paper and code of [Barequet and Har-Peled, 99].

  1. Code for computing/approximating the diameter: gdiam.C, gdiam.h.
  2. Example: gdiam_test.C
  3. Whole package: diam_11_17_06_valis.zip

Old version

    diam_01_26_04_valis.zip.
  1. Whole package: diam_03_28_01_valis.zip.
  2. Whole package: diam_10_02_00_valis.zip.

Last modified: Fri Jul 7 18:10:40 EDT 2000