Create a graph with given vertices, and maintain an adjacency list
| 19 | // Create a graph with given vertices, |
| 20 | // and maintain an adjacency list |
| 21 | Graph::Graph(int vertices) { |
| 22 | numVertices = vertices; |
| 23 | adjLists = new list<int>[vertices]; |
| 24 | } |
| 25 | |
| 26 | // Add edges to the graph |
| 27 | void Graph::addEdge(int src, int dest) { |
nothing calls this directly
no outgoing calls
no test coverage detected