Hybrid methods for Parallel Betweenness Centrality on the GPU
The only dependency of this code (other than CUDA itself, of course) is Boost. A few small input examples can be found in the graphs directory. Both DIMACS and SNAP graph formats are accepted (assuming unweighted, undirected graphs). DIMACS files are assumed to end in the ".graph" extension whereas SNAP (edgelist) files are assumed to end in either ".txt" or ".edge" extensions.
Example command line to run and time the algorithm:
$ ./bc -i ./graphs/breast_coexpress.txt
To do the same and compare to sequential execution on the CPU:
$ ./bc -i ./graphs/breast_coexpress.txt -v
To print BC scores to a file:
$ ./bc -i ./graphs/breast_coexpress.txt --printscores=output.txt
If you use the algorithms in this repository for your own research, please cite our SC14 paper using the following BibTeX entry: http://users.ece.gatech.edu/~amclaughlin7/bibtex/SC14.txt
More information on the algorithms used in this repository can be found in the paper itself: http://users.ece.gatech.edu/~amclaughlin7/SC14_Final.pdf
Adam McLaughlin