calcule the euclidian distance between two points concode_field_sep KDNode root concode_elem_sep double[] nearestNeighboor concode_elem_sep Random random concode_elem_sep double minDist concode_elem_sep int dimensionCount concode_elem_sep RedBlackTree<KNNPoint> resultKNN concode_elem_sep int nodeCount concode_elem_sep int k concode_field_sep void buildtree concode_elem_sep RedBlackTree<KNNPoint> knearest concode_elem_sep void swap concode_elem_sep void findParent_knn concode_elem_sep void tryToSave concode_elem_sep double[] nearest concode_elem_sep void nearest concode_elem_sep double[] randomizedSelect concode_elem_sep int partition concode_elem_sep int size concode_elem_sep void findParent concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep int randomizedPartition concode_elem_sep KDNode generateNode concode_elem_sep void nearest_knn
double function ( double [ ] arg0 , double [ ] arg1 ) { double loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { loc0 += Math . pow ( arg0 [ loc1 ] - arg1 [ loc1 ] , 2 ) ; } return Math . sqrt ( loc0 ) ; }