Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit b2c7767

Browse files
committed
disabling bug fix
1 parent cdc1384 commit b2c7767

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dining.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
1
2-
1
2+
0
33
1

src/dining.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ private static int[] dijkstra(int[][] graph1, int startVertex) {
5252
System.out.println("Info: "+nearestVertex+" "+vertexIndex);
5353
arr[nearestVertex-1] = 1;
5454
arr[vertexIndex-1] = 1;
55+
/*
5556
if(pasture[nearestVertex] > 0) {
5657
for(int j = 0; j < N; j++) {
5758
@@ -68,6 +69,7 @@ private static int[] dijkstra(int[][] graph1, int startVertex) {
6869
6970
}
7071
}
72+
*/
7173
graph1[nearestVertex][vertexIndex] = 0;
7274
graph1[vertexIndex][nearestVertex] = 0;
7375
}

0 commit comments

Comments
 (0)