Method
compare
(Tuple3<Integer, Integer, Double> o1, Tuple3<Integer, Integer, Double> o2)
Source from the content-addressed store, hash-verified
| 311 | PriorityQueue<Tuple3<Integer, Integer, Double>> edgeQ = new PriorityQueue<Tuple3<Integer, Integer, Double>>(2*N, new Comparator<Tuple3<Integer, Integer, Double>>() |
| 312 | { |
| 313 | @Override |
| 314 | public int compare(Tuple3<Integer, Integer, Double> o1, Tuple3<Integer, Integer, Double> o2) |
| 315 | { |
| 316 | return o1.getZ().compareTo(o2.getZ()); |
| 317 | } |
| 318 | }); |
| 319 | edgeQ.addAll(mst_edges); |
| 320 | |
Callers
nothing calls this directly
Tested by
no test coverage detected