![]() |
ROOT 6.07/09 Reference Guide |
#include <time.h>
#include <iostream>
#include <stdlib.h>
#include <vector>
#include "assert.h"
#include "Math/KDTree.h"
#include "Math/TDataPoint.h"
Functions | |
template<class _DataPoint > | |
ROOT::Math::KDTree< _DataPoint > * | BuildTree (const std::vector< const _DataPoint * > &vDataPoints, const unsigned int iBucketSize) |
template<class _DataPoint > | |
bool | CheckBasicTreeProperties (const ROOT::Math::KDTree< _DataPoint > *pTree, const std::vector< const _DataPoint * > &vDataPoints) |
template<class _DataPoint > | |
bool | CheckBinBoundaries (const ROOT::Math::KDTree< _DataPoint > *pTree) |
template<class _DataPoint > | |
bool | CheckEffectiveBinEntries (const ROOT::Math::KDTree< _DataPoint > *pTree) |
template<class _DataPoint > | |
bool | CheckFindBin (const ROOT::Math::KDTree< _DataPoint > *pTree) |
template<class _DataPoint > | |
bool | CheckNearestNeighborSearches (const ROOT::Math::KDTree< _DataPoint > *pTree, const std::vector< const _DataPoint * > &vDataPoints) |
template<class _DataPoint > | |
bool | CheckTreeClear (ROOT::Math::KDTree< _DataPoint > *pTree, const std::vector< const _DataPoint * > &vDataPoints) |
template<class _DataPoint > | |
void | CreatePseudoData (const unsigned long int nPoints, std::vector< const _DataPoint * > &vDataPoints) |
template<class _DataPoint > | |
void | DeletePseudoData (std::vector< const _DataPoint * > &vDataPoints) |
int | main () |
ROOT::Math::KDTree<_DataPoint>* BuildTree | ( | const std::vector< const _DataPoint * > & | vDataPoints, |
const unsigned int | iBucketSize | ||
) |
Definition at line 42 of file newKDTreeTest.cxx.
bool CheckBasicTreeProperties | ( | const ROOT::Math::KDTree< _DataPoint > * | pTree, |
const std::vector< const _DataPoint * > & | vDataPoints | ||
) |
Definition at line 66 of file newKDTreeTest.cxx.
bool CheckBinBoundaries | ( | const ROOT::Math::KDTree< _DataPoint > * | pTree | ) |
Definition at line 105 of file newKDTreeTest.cxx.
bool CheckEffectiveBinEntries | ( | const ROOT::Math::KDTree< _DataPoint > * | pTree | ) |
Definition at line 139 of file newKDTreeTest.cxx.
bool CheckFindBin | ( | const ROOT::Math::KDTree< _DataPoint > * | pTree | ) |
Definition at line 154 of file newKDTreeTest.cxx.
bool CheckNearestNeighborSearches | ( | const ROOT::Math::KDTree< _DataPoint > * | pTree, |
const std::vector< const _DataPoint * > & | vDataPoints | ||
) |
Definition at line 192 of file newKDTreeTest.cxx.
bool CheckTreeClear | ( | ROOT::Math::KDTree< _DataPoint > * | pTree, |
const std::vector< const _DataPoint * > & | vDataPoints | ||
) |
Definition at line 301 of file newKDTreeTest.cxx.
void CreatePseudoData | ( | const unsigned long int | nPoints, |
std::vector< const _DataPoint * > & | vDataPoints | ||
) |
Definition at line 18 of file newKDTreeTest.cxx.
void DeletePseudoData | ( | std::vector< const _DataPoint * > & | vDataPoints | ) |
Definition at line 32 of file newKDTreeTest.cxx.
int main | ( | ) |
Definition at line 337 of file newKDTreeTest.cxx.