Statistics
| Branch: | Revision:

root / fiddle / boost-networkx-comparision / script.sh @ 37200dce

History | View | Annotate | Download (597 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
19
echo "Find the graphs comparing 2 libraries in ./output"
20

    
21
echo "DONE with comparing between networkx and BGL"