(int v)
| 16 | |
| 17 | // Constructor |
| 18 | @SuppressWarnings("unchecked") Graph(int v) |
| 19 | { |
| 20 | V = v; |
| 21 | adj = new LinkedList[v]; |
| 22 | for (int i = 0; i < v; ++i) |
| 23 | adj[i] = new LinkedList(); |
| 24 | } |
| 25 | |
| 26 | // Function to add an edge into the graph |
| 27 | void addEdge(int v, int w) |
nothing calls this directly
no outgoing calls
no test coverage detected