diff --git a/algorithms/dijkstra.py b/algorithms/dijkstra.py index 7e9cfac..93a4519 100644 --- a/algorithms/dijkstra.py +++ b/algorithms/dijkstra.py @@ -107,4 +107,5 @@ if __name__ == "__main__": } print(dijkstra_algorithm(g, 7, 10)) + print(dijkstra_algorithm(g2, 1, 4, is_directed=True)) print(dijkstra_algorithm(g2, 1, 5, is_directed=True))