diff options
| author | Paul Jungeblut <s_jungeb@i08pc55.atis-stud.uni-karlsruhe.de> | 2014-11-24 15:32:56 +0100 |
|---|---|---|
| committer | Paul Jungeblut <s_jungeb@i08pc55.atis-stud.uni-karlsruhe.de> | 2014-11-24 15:32:56 +0100 |
| commit | 9132c2f869e166f871027a99d1746f712397ce08 (patch) | |
| tree | f51aaed4aab3d8cb2bbb1ac11cb7d474f7ac15ed /graph/floydWarshall.cpp | |
| parent | cb1ed059fe6d3518436d32160e51c84d4517ea26 (diff) | |
small fixes
Diffstat (limited to 'graph/floydWarshall.cpp')
| -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++) { |
