An Java visualizer and test of Dijkstra's algorithm of shortest path