This package contains software related to the paper "Voting in social networks"
(by Paolo Boldi, Francesco Bonchi, Carlos Castillo and Sebastiano Vigna). It
contains the following pieces of software:

1) A Ruby script (filterdblp.rb) that, starting from the DBLP.xml file
distributed by DBLP (at http://www.informatik.uni-trier.de/~ley/db/) builds the
files needed to build the DBLP graph and possibly the delegation graph. Both
can be easily turned into the WebGraph format using the tools at
http://webgraph.dsi.unimi.it/.

2) Once the graph is obtained, one can either run PageRank on it (using one of
the classes distributed by LAW at http://law.dsi.unimi.it/) or use the source
code hereby distributed that allows one to estimate voting centrality etc.

This Java project depends on the following jars:

	* colt.jar 
	* jsap.jar 
	* log4j.jar 
	* dsiutils.jar
	* webgraph.jar
	* fastutil5.jar

The easiest way to set up the compilation environment is downloading
WebGraph and all dependencies at http://webgraph.dsi.unimi.it/.
