(int N)
| 26 | private int[] D; |
| 27 | |
| 28 | public BellmanFord(int N) { |
| 29 | this.N = N; |
| 30 | edges = new ArrayList<>(); |
| 31 | D = new int[N+1]; |
| 32 | } |
| 33 | |
| 34 | public void addEdge(int from, int to, int weight) { |
| 35 | edges.add(new Edge(from, to, weight)); |
nothing calls this directly
no outgoing calls
no test coverage detected