(int v, int e)
| 16 | |
| 17 | // Creates a graph with V vertices and E edges |
| 18 | CreateGraph(int v, int e) { |
| 19 | V = v; |
| 20 | E = e; |
| 21 | edge = new CreateEdge[e]; |
| 22 | for (int i = 0; i < e; ++i) |
| 23 | edge[i] = new CreateEdge(); |
| 24 | } |
| 25 | |
| 26 | void BellmanFord(CreateGraph graph, int s) { |
| 27 | int V = graph.V, E = graph.E; |
nothing calls this directly
no outgoing calls
no test coverage detected