Dijkstra: only add next node into the heap when needed
1 file changed