Logo ROOT   6.08/07
Reference Guide
Functions
newKDTreeTest.cxx File Reference
#include <time.h>
#include <iostream>
#include <stdlib.h>
#include <vector>
#include "assert.h"
#include "Math/KDTree.h"
#include "Math/TDataPoint.h"
Include dependency graph for newKDTreeTest.cxx:

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 ()
 

Function Documentation

◆ BuildTree()

template<class _DataPoint >
ROOT::Math::KDTree<_DataPoint>* BuildTree ( const std::vector< const _DataPoint *> &  vDataPoints,
const unsigned int  iBucketSize 
)

Definition at line 42 of file newKDTreeTest.cxx.

◆ CheckBasicTreeProperties()

template<class _DataPoint >
bool CheckBasicTreeProperties ( const ROOT::Math::KDTree< _DataPoint > *  pTree,
const std::vector< const _DataPoint *> &  vDataPoints 
)

Definition at line 66 of file newKDTreeTest.cxx.

◆ CheckBinBoundaries()

template<class _DataPoint >
bool CheckBinBoundaries ( const ROOT::Math::KDTree< _DataPoint > *  pTree)

Definition at line 105 of file newKDTreeTest.cxx.

◆ CheckEffectiveBinEntries()

template<class _DataPoint >
bool CheckEffectiveBinEntries ( const ROOT::Math::KDTree< _DataPoint > *  pTree)

Definition at line 139 of file newKDTreeTest.cxx.

◆ CheckFindBin()

template<class _DataPoint >
bool CheckFindBin ( const ROOT::Math::KDTree< _DataPoint > *  pTree)

Definition at line 154 of file newKDTreeTest.cxx.

◆ CheckNearestNeighborSearches()

template<class _DataPoint >
bool CheckNearestNeighborSearches ( const ROOT::Math::KDTree< _DataPoint > *  pTree,
const std::vector< const _DataPoint *> &  vDataPoints 
)

Definition at line 192 of file newKDTreeTest.cxx.

◆ CheckTreeClear()

template<class _DataPoint >
bool CheckTreeClear ( ROOT::Math::KDTree< _DataPoint > *  pTree,
const std::vector< const _DataPoint *> &  vDataPoints 
)

Definition at line 301 of file newKDTreeTest.cxx.

◆ CreatePseudoData()

template<class _DataPoint >
void CreatePseudoData ( const unsigned long int  nPoints,
std::vector< const _DataPoint *> &  vDataPoints 
)

Definition at line 18 of file newKDTreeTest.cxx.

◆ DeletePseudoData()

template<class _DataPoint >
void DeletePseudoData ( std::vector< const _DataPoint *> &  vDataPoints)

Definition at line 32 of file newKDTreeTest.cxx.

◆ main()

int main ( )

Definition at line 337 of file newKDTreeTest.cxx.