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