1 #ifndef KDTreeLinkerAlgo_h
2 #define KDTreeLinkerAlgo_h
19 void build(std::vector<KDTreeNodeInfo> &eltList,
25 std::vector<KDTreeNodeInfo> &resRecHitList);
62 std::vector<KDTreeNodeInfo> &recHits);
66 std::vector<KDTreeNodeInfo> &recHits);
void addSubtree(const KDTreeNode *current, std::vector< KDTreeNodeInfo > &recHits)
KDTreeNode * getNextNode()
KDTreeNode * recBuild(std::vector< KDTreeNodeInfo > &eltList, int low, int hight, int depth, const KDTreeBox ®ion)
void build(std::vector< KDTreeNodeInfo > &eltList, const KDTreeBox ®ion)
void search(const KDTreeBox &searchBox, std::vector< KDTreeNodeInfo > &resRecHitList)
void swap(KDTreeNodeInfo &e1, KDTreeNodeInfo &e2)
void recSearch(const KDTreeNode *current, const KDTreeBox &trackBox, std::vector< KDTreeNodeInfo > &recHits)
int medianSearch(std::vector< KDTreeNodeInfo > &eltList, int low, int high, int treeDepth)