Dijkstra's finds shortest paths. Pick the next node to process, or predict the updated distance after relaxing an edge!