()
| 128 | } |
| 129 | |
| 130 | public void printGraph() { |
| 131 | for (int i = 1; i <= N; i++) { |
| 132 | for (Node n : graph[i]) { |
| 133 | System.out.println(i + " --" + n.distance + "--> " + n.index); |
| 134 | } |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | public void getShortestDistance(int S) { |
| 139 | PriorityQueue<Node> pq = new PriorityQueue<>(((o1, o2) -> o1.distance - o2.distance)); |
nothing calls this directly
no outgoing calls
no test coverage detected