double function ( Integer arg0 ) { Double loc0 = map . get ( arg0 ) ; if ( loc0 != null ) { return loc0 ; } else { return INFINITY ; } }
returns the distance to a node . if no distance value is found , returns maxpropdijkstra #infinity as the value . concode_field_sep Double INFINITY concode_elem_sep Map<Integer,MeetingProbabilitySet> probs concode_elem_sep Set<Integer> visited concode_elem_sep Map<Integer,Integer> prevNodes concode_elem_sep Queue<Integer> unvisited concode_elem_sep HashMap<Integer,Double> map concode_elem_sep DistanceMap distancesFromStart concode_elem_sep int PQ_INIT_SIZE concode_field_sep double getDistance concode_elem_sep int compare concode_elem_sep void setDistance concode_elem_sep Map<Integer,Double> getCosts concode_elem_sep void relax concode_elem_sep void initWith concode_elem_sep String toString concode_elem_sep void put