(int V)
| 6 | |
| 7 | /* Creation of the graph */ |
| 8 | DFSTraversal(int V) /* 'V' is the number of vertices in the graph */ |
| 9 | { |
| 10 | adj = new LinkedList[V]; |
| 11 | visited = new boolean[V]; |
| 12 | |
| 13 | for (int i = 0; i < V; i++) |
| 14 | adj[i] = new LinkedList<Integer>(); |
| 15 | } |
| 16 | |
| 17 | /* Adding an edge to the graph */ |
| 18 | void insertEdge(int src, int dest) { |
nothing calls this directly
no outgoing calls
no test coverage detected