Comparison of Shortest Path Algorithms

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Comparison of Shortest Path Algorithms

Post by Bernd Welter »

Hi there,

before I forget it: here's some fancy video playlist about different routing algorithms.
The videos apply different routing techniques and show the impact on performance, mainly driven by the size of the data structure that have been created during the algorithms process:
unidirectional dijkstra.png
AlgorithmNumber of expanded nodes
Unidirectional Dijkstra468'113 nodes within 17'394ms
Unidirectionsl A-Star124'584 nodes within 5'366ms
Bidirectional Dijkstra183'438 nodes within 7'972ms
Bidirectional A-Star79'616 nodes within 4'087ms
Heuristic Bidirectional A-Star32'961 nodes within 1'809 ms
  • A unidirectional algorithm is slower than it's bidirectional version, but bidirectional one's aren't sufficient for a certain class of time dependent tasks (excat at start, exact at arrival, ...)
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply