MCPcopy Create free account
hub / github.com/Seogeurim/CS-study / Dijkstra

Method Dijkstra

contents/algorithm/code/DijkstraTest.java:44–49  ·  view source on GitHub ↗
(int N)

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected