(int vertices)
| 8 | |
| 9 | // Graph creation |
| 10 | Graph(int vertices) { |
| 11 | adjLists = new LinkedList[vertices]; |
| 12 | visited = new boolean[vertices]; |
| 13 | |
| 14 | for (int i = 0; i < vertices; i++) |
| 15 | adjLists[i] = new LinkedList<Integer>(); |
| 16 | } |
| 17 | |
| 18 | // Add edges |
| 19 | void addEdge(int src, int dest) { |
nothing calls this directly
no outgoing calls
no test coverage detected