======================================================================== NetStat: calculate structural properties of a network ======================================================================== Computes the structural properties of a network: - cummulative degree distribution - degree distribution - hop plot (diameter) - distribution of weakly connected components - distribution of strongly connected components - clustering coefficient - singular values - left and right singular vector Depending on the platform (Windows or Linux) you need to edit the Makefile. Use 'make opt' to compile the optimized (fast) version of the code. ///////////////////////////////////////////////////////////////////////////// Parameters: -i:Input graph (one edge per line, tab/space separated) (default:'graph.txt') -d:Directed graph (default:'T') -o:Output file prefix (default:'graph') -t:Title (description) (default:'') -p:What statistics to plot string: c: cummulative degree distribution d: degree distribution h: hop plot (diameter) w: distribution of weakly connected components s: distribution of strongly connected components C: clustering coefficient v: singular values V: left and right singular vector ///////////////////////////////////////////////////////////////////////////// Usage: Compute degree distribution and clustering coefficient of a network netstat -i:../as20graph.txt -p:dC