We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 472e77e commit d5873ecCopy full SHA for d5873ec
graphs/graphs_floyd_warshall.py
@@ -18,7 +18,7 @@ def _print_dist(dist, v):
18
19
def floyd_warshall(graph, v):
20
"""
21
- Computes the shortest paths in a weighted graph with positive or negative edge weights (but with no negative cycles).
+ Computes the shortest paths in a weighted graph.
22
23
:param graph: 2D list where each element represents the weight from i to j.
24
:type graph: List[List[float]]
0 commit comments