結果 : why is dijkstra's algorithm considered a greedy algorithm