View on GitHub

The PBBS Benchmarks

New version of pbbs benchmarks

Suffix Arrays (SA)

Given a string generate its suffix array, i.e. the sorted sequence of all suffixes of the input.

The input is a string of length n containing no null characters, and the output is the suffix array as a sequence of length n. The indices in the sequence are zero-based (i.e. the location of 0 in the array gives the rank of the whole string among all its suffixes).

Default Input Distributions

Instances consist of both synthetic and real strings.

The large instances are:

The small instances are:

Input and Output File Formats

The input needs to be a file of characters (no null characters). The output needs to be in the sequence file format with integer type.