public static void main(String[] args) throws IOException { // TODO Auto-generated method stub ShortestPath path = new ShortestPath(); path.readAdjlist("dijkstraData.txt"); int[] v = {7, 37, 59, 82, 99, 115, 133, 165, 188, 197}; for (int i : v) { System.out.println("t = " + i + " dist = " + path.computePath(1, i)); } }