MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / insertEdge

Method insertEdge

Java/BfsTraversal.java:18–20  ·  view source on GitHub ↗
(int v, int w)

Source from the content-addressed store, hash-verified

16 }
17
18 void insertEdge(int v, int w) {
19 adj[v].add(w);
20 }
21
22 void BFS(int n) {
23 boolean nodes[] = new boolean[node]; /* initialize boolean array for holding the data */

Callers 1

mainMethod · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected