| 15 | }; |
| 16 | |
| 17 | Graph::Graph(int vertices) { |
| 18 | numVertices = vertices; |
| 19 | adjLists = new list<int>[vertices]; |
| 20 | } |
| 21 | void Graph::addEdge(int src, int dest) { |
| 22 | adjLists[src].push_back(dest); |
| 23 | adjLists[dest].push_back(src); |
nothing calls this directly
no outgoing calls
no test coverage detected