MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / Main

Class Main

Programs/BFS.java:55–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55public class Main {
56 public static void main(String args[]) {
57
58 Graph g = new Graph(4);
59
60 g.addEdge(0, 1);
61 g.addEdge(0, 2);
62 g.addEdge(1, 2);
63 g.addEdge(2, 0);
64 g.addEdge(2, 3);
65 g.addEdge(3, 3);
66
67 g.BFS(0);
68
69 }
70
71}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected