View on GitHub

The PBBS Benchmarks

New version of pbbs benchmarks

Spanning Forest (SF)

Given a undirected graph return a spanning tree (ST), or spanning forest (SF) if the graph is not connected. The input graph can be in any format (as long as it does not encode the MIS somehow). Also the code cannot reorder the graph for locality. The output needs to be a sequence of integers corresponding to the positions of the edges in the input (zero based) that are in the ST. The output sequence need not be sorted.

Input Distributions

The default input graphs are as follows:

Input and Output File Formats

The input is a graph in the edge graph file format. The output needs to be in the sequence file format.