fixed a copy mistake in dijkstra
This commit is contained in:
parent
cab460feb8
commit
2b4ad77912
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user