int function ( List < Integer > arg0 , final int arg1 ) { Comparator < Integer > loc0 = getAxisComparator ( arg1 ) ; java . util . Collections . sort ( arg0 , loc0 ) ; return arg0 . get ( ( arg0 . size ( ) + 1 ) / 2 ) ; }
this function selects the index that is the median of the values when sorted by the specified axis . concode_field_sep int size concode_elem_sep KDNode root concode_elem_sep boolean useMedian concode_elem_sep double[][] dataPoints concode_elem_sep int dimension concode_elem_sep Random random concode_field_sep ObjectObjectPair<List<Integer>,List<Integer>> splitPoints concode_elem_sep Comparator<Integer> getAxisComparator concode_elem_sep KDNode construct concode_elem_sep int getRandomSplitIndex concode_elem_sep int nearestNeighborSearch concode_elem_sep int nearestNeighborSearch concode_elem_sep TIntHashSet epsilonNeighborhoodSearch concode_elem_sep void epsilonNeighborhoodSearch