Skip to content

Find shortest path between Dutch cities using Dijkstra's Shortest Path Algorithm.

License

Notifications You must be signed in to change notification settings

slmttndrk/shortest-path-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shortest-path-finder

Welcome to find shortest path (using Dijkstra's Shortest Path Algorithm) between Dutch cities shown below:

Amsterdam

Utrecht

Groningen

Haarlem

Arnhem

's-Hertogenbosch

Maastricht

Zwolle

Leeuwarden

Lelystad

Assen

Middelburg

Path Finding Example


You can use the shortest-path-finder by running this java app with given source and destination cities.

Please give source(i.e. Amsterdam) and destination(i.e. Maastricht) as command line arguments!

(input) -> java ShortestPathFinder.java Amsterdam Maastricht

(output) -> The shortest path is:

Amsterdam -> Utrecht -> 's-Hertogenbosch -> Maastricht

-> Total distance is:

236 km

About

Find shortest path between Dutch cities using Dijkstra's Shortest Path Algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages