Skip to content

Commit 0178af4

Browse files
committed
Changed the data.js file
I changed the graph; thought it was a bit more instructive to see that a bridge isn't necessarily an edge that has degree 1.
1 parent e53fce7 commit 0178af4

File tree

1 file changed

+4
-4
lines changed
  • algorithm/graph_search/bridges/efficient

1 file changed

+4
-4
lines changed

algorithm/graph_search/bridges/efficient/data.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
var graphTracer = new UndirectedGraphTracer ();
22
var logger = new LogTracer ();
33
var G = [
4-
[0,1,0,0,0,0],
5-
[1,0,0,1,1,0],
4+
[0,1,0,0,1,0],
5+
[1,0,0,0,1,0],
66
[0,0,0,1,0,0],
7-
[0,1,1,0,1,1],
8-
[0,1,0,1,0,0],
7+
[0,0,1,0,1,1],
8+
[1,1,0,1,0,0],
99
[0,0,0,1,0,0]
1010
];
1111

0 commit comments

Comments
 (0)