double function ( int arg0 ) { return distTo [ arg0 ] ; }
returns the distance from the source to the given vertex . if the vertex is unreachable , the distance returned is double.positive _ infinity . concode_field_sep int[] edgeTo concode_elem_sep double[] distTo concode_elem_sep IndexMinPriorityQueue<Double> indexMinPQ concode_elem_sep double INFINITY concode_field_sep void relax concode_elem_sep boolean hasPathTo concode_elem_sep void checkNegativeEdges concode_elem_sep Iterable<Integer> pathTo