HAMMERSLEY_DATASET
Generate Hammersley Datasets


HAMMERSLEY_DATASET is a FORTRAN90 program, using double precision arithmetic, which creates a Hammersley dataset and writes it to a file.

The program is interactive, and allows the user to choose the parameters that define the sequence.

The program applies the user's data to select elements of a "leaped" subsequence of the Hammersley sequence. The subsequence elements are indexed by a quantity called STEP, which starts at 0. The STEP-th subsequence element is simply the Hammersley sequence element with index

        SEED(1:NDIM) + STEP * LEAP(1:NDIM).
      

The data that the user may set include:

Once these parameters are set, the program generates the data, and writes it to a file. The user may then specify another set of data, or terminate the program.

Related Data and Programs:

HAMMERSLEY is a FORTRAN90 library which contains routines which compute elements of a Hammersley sequence. A compiled version of this library is necessary in order to build HAMMERSLEY_DATASET.

The HAMMERSLEY dataset directory contains examples of files created by HAMMERSLEY_DATASET.

HAMMERSLEY_DATASET is also available in a C++ version and a MATLAB version.

The TABLE format is used for the output files created by HAMMERSLEY_DATASET.

TABLE_DISCREPANCY is a C++ program which can read a TABLE file of points (presumed to lie in the unit hypercube) and compute bounds on the star discrepancy, a measure of dispersion.

Reference:

  1. John Hammersley,
    Monte Carlo methods for solving multivariable problems,
    Proceedings of the New York Academy of Science,
    Volume 86, 1960, pages 844-874.
  2. Ladislav Kocis, William Whiten,
    Computational Investigations of Low-Discrepancy Sequences,
    ACM Transactions on Mathematical Software,
    Volume 23, Number 2, 1997, pages 266-294.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 30 August 2005.