src/classify/kdtree.cpp
void InsertNodes(KDTREE *tree, KDNODE *nodes) {
  if (nodes == nullptr) {
    return;
  }

  KDStore(tree, nodes->Key, nodes->Data);
  InsertNodes(tree, nodes->Left);
  InsertNodes(tree, nodes->Right);
}
/** Given a subtree nodes, insert all of its elements into tree. */
Given a subtree nodes, insert all of its elements into tree.
Given a subtree nodes insert all of its elements into tree .
void InsertNodes(KDTREE *tree, KDNODE *nodes) {
  if (nodes == nullptr) {
    return;
  }
  KDStore(tree, nodes->Key, nodes->Data);
  InsertNodes(tree, nodes->Left);
  InsertNodes(tree, nodes->Right);
}
void InsertNodes ( KDTREE * tree , KDNODE * nodes ) { if ( nodes == nullptr ) { return ; } KDStore ( tree , nodes -> Key , nodes -> Data ) ; InsertNodes ( tree , nodes -> Left ) ; InsertNodes ( tree , nodes -> Right ) ; }
Given a subtree nodes, insert all of its elements into tree.
Given a subtree nodes insert all of its elements into tree .