void function ( double [ ] [ ] arg0 ) { if ( arg0 . length == 0 ) { return ; } dimensionCount = arg0 [ 0 ] . length ; root = generateNode ( 0 , arg0 , 0 , arg0 . length - 1 ) ; }
this method build the kdtree from a set of points . this method should be called only once . 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 RedBlackTree<KNNPoint> knearest concode_elem_sep double distance 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