diff options
Diffstat (limited to 'graph')
| -rw-r--r-- | graph/floydWarshall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graph/floydWarshall.cpp b/graph/floydWarshall.cpp index ee56441..f5c950d 100644 --- a/graph/floydWarshall.cpp +++ b/graph/floydWarshall.cpp @@ -1,4 +1,4 @@ -//initialize adjmat, adjmat[i][i] = 0, adjmat[i][j] = INF if no edge is between i and j +//initialize adjmat, adjmat[i][i] = 0, adjmat[i][j] = INF if no edge is between i and j, length otherwise for (k = 0; k < MAX_V; k++) { for (i = 0; i < MAX_V; i++) { for (j = 0; j < MAX_V; j++) { |
