Revision f1ee8a55

View differences:

fiddle/heuristic-betweenness-centrality/compare.py
44 44

  
45 45
        # write to file
46 46
        # FORMAT: ip_address    networkx_centrality     boost_centrality
47
        print "Compare"
47 48
        with open(MAIN_CODE_DIR + '/output/score_summary_%s.txt' % t, 'w') as output:
48 49
            for key, nx in sorted_nx_scores:
49 50
                boost = boost_scores[key]
fiddle/heuristic-betweenness-centrality/script.sh
1 1
export MAIN_CODE_DIR="/home/quynh/Thesis/quynhnguyen-ms/fiddle/heuristic-betweenness-centrality"
2
python main.py
2
python centrality_biconnected.py
3 3
python compare.py
4 4

  
5 5
gnuplot gnuplot_script

Also available in: Unified diff