View on GitHub

The PBBS Benchmarks

New version of pbbs benchmarks

Minimum Spanning Forest (MSF)

Given a weighted undirected graph return the minimum spanning tree (MST), or minimum spanning forest (MSF) 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 weights must be single-precision floating-point numbers. 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. In the case that there are multiple possible MSFs (due to equal weights), any MSF is valid.

Default Input Distributions

The default input graphs are as follows:

Input and Output File Formats

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