diff --git a/algorithms/dijkstra.py b/algorithms/dijkstra.py index 5d89f9b..414f12a 100644 --- a/algorithms/dijkstra.py +++ b/algorithms/dijkstra.py @@ -109,4 +109,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))