Statistics
| Branch: | Revision:

root / fiddle / boost-networkx-comparision / script.sh @ 1705a309

History | View | Annotate | Download (487 Bytes)

1
export MAIN_CODE_DIR="/home/quynh/Thesis/quynhnguyen-ms/fiddle/boost-networkx-comparision"
2
SOURCE_DIR="./src"
3

    
4
# Get centrality with Boost Graph Library
5
make
6
# Temporary way to get around with the relative path.
7
cd src
8
./boost_graph
9
cd ../
10

    
11
# Get centrality with networkx Library
12
python $SOURCE_DIR"/networkx_graph.py"
13

    
14
# Generate the text file with scores from BGL and networkx
15
python $SOURCE_DIR"/comparison.py"
16

    
17
# Plot to see the discrepancy between 2 libraries
18
gnuplot gnuplot_script