Shortest Path
CB-Cities
Run mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release /path/to/CMakeLists.txt.
Run make clean && make -jN (where N is the number of cores).
To run the dijkstra shortest path ./sp ../sf.mtx, because the executable sp would be generated inside the build directory.
Running just ./sp will run the shortest path for the sample graph whose output is:
5 dist 21.24 dist 20.76 dist 11.53 dist 9.11 dist 02 dist 7.5
Run ./sptest -s (for a verbose output) or ctest -VV.
Run ./sptest -l to see available test options
Requires Python3
virtualenv env and activate: source env/bin/activatepip3 install -r requirements.txt or pip install -r requirements.txtpython3 ./interface.pyRequires Python3
virtualenv env and activate: source env/bin/activatepip3 install -r requirements.txt or pip install -r requirements.txtpython3 ./benchmark_dijkstra.py