SHARE
TWEET

Untitled

a guest Apr 24th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PriorityQueue<Edge> Q = new PriorityQueue<>(new Comparator<Edge>() {
  2.                 @Override
  3.                 public int compare(Edge val1, Edge val2) {
  4.                     return val1.cost.compareTo(val2.cost);
  5.                 }
  6.             });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top