(int v)
| 8 | |
| 9 | // Create a graph |
| 10 | Graph(int v) { |
| 11 | V = v; |
| 12 | adj = new LinkedList[v]; |
| 13 | for (int i = 0; i < v; ++i) |
| 14 | adj[i] = new LinkedList(); |
| 15 | } |
| 16 | |
| 17 | // Add edges to the graph |
| 18 | void addEdge(int v, int w) { |
nothing calls this directly
no outgoing calls
no test coverage detected