BFS changed.
DFS changed.
Acyclic changed.
allpairs changed.
Bellman-Ford changed.
johnson, dijkstra, dagshortestpath changed.
Changes (prev to parent, dist to distance).
Hopcroft-Karp changed.