Skip to content

Commit a7bab4a

Browse files
authored
Update floydwarshall.go
1 parent 8a09d6b commit a7bab4a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

graphs/floyd_warshall/floydwarshall.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,3 @@ func FloydWarshall(graph Matrix) Matrix {
4242

4343
return result
4444
}
45-
46-
// func main() {
47-
// var graph Matrix
48-
// graph = Matrix{{0, maxValue, -2, maxValue},
49-
// {4, 0, 3, maxValue},
50-
// {maxValue, maxValue, 0, 2},
51-
// {maxValue, -1, maxValue, 0}}
52-
53-
// result := FloydWarshall(graph)
54-
55-
// //Print result
56-
// for i := 0; i < len(result); i++ {
57-
// fmt.Printf("%4g\n", result[i])
58-
// }
59-
// }

0 commit comments

Comments
 (0)