Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

Lee-W/All-Pair-Short-Path-Algorithm-Comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All Pair Short Path Algorithm Comparison

Compare the performance of shortest path algorithms below.

  • SPFA
  • Dijstra with priority queue
  • Dijstra Dial implementation
  • PAPE (Bellman Ford with dequeue)
  • Graphical Floyd Warshall
  • Algebracial Floyd Warshall

USAGE

build

make

run

./bin/SPSPComparison.out "sp file" "output file name" [iteration number]
  • sp file: Path of input sp file
  • output file name: Output csv name
  • iteration number: Iteration to run these algorithm. The result will be averaged.

generate test case

make gen

Generate 32 sample test case in input/test_case/

test all case

make run_all_test_case

Test all the case in input/test_case/

AUTHORS

Lee-W

LICENSE

MIT

About

Compare the performance of some shortest path algorithms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published