Example #1
0
 public Integer fn(Vertex from, Vertex to) {
   return from.distanceTo(to) / rng.nextInt();
 }
Example #2
0
 public Integer fn(Vertex from, Vertex to) {
   return from.distanceTo(to) / 2;
 }