(int N)
| 42 | private boolean[] visited; |
| 43 | |
| 44 | public Dijkstra(int N) { |
| 45 | this.N = N; |
| 46 | graph = new int[N+1][N+1]; |
| 47 | D = new int[N+1]; |
| 48 | visited = new boolean[N+1]; |
| 49 | } |
| 50 | |
| 51 | public void setGraph(int i, int j, int w) { |
| 52 | graph[i][j] = w; |
nothing calls this directly
no outgoing calls
no test coverage detected