|
ROOT 6.10/09 Reference Guide |
#include "TSystem.h"#include "TMatrixD.h"#include "TRandom.h"#include "TGraph.h"#include "TStopwatch.h"#include "TKDTree.h"#include "TApplication.h"#include "TCanvas.h"#include <iostream>Functions | |
| void | kDTreeTest () |
| int | main (int argc, char **argv) |
| Float_t | Mem () |
| void | TestBuild (const Int_t npoints, const Int_t bsize) |
| Test kdTree for memory leaks. More... | |
| void | TestConstr (const Int_t npoints, const Int_t bsize) |
| compare the results of different data setting functions nothing printed - all works correctly More... | |
| void | TestMembers () |
| This is not really a test, it's a function that illustrates the internal behaviour of the kd-tree. More... | |
| void | TestNeighbors () |
| Test TKDTree::FindNearestNeighbors() function. More... | |
| void | TestRange () |
| void | TestSpeed (Int_t npower2, Int_t bsize) |
| Test of building time of kdTree. More... | |
Variables | |
| bool | showGraphics = false |
| void kDTreeTest | ( | ) |
Definition at line 48 of file kDTreeTest.cxx.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 557 of file kDTreeTest.cxx.
| Float_t Mem | ( | ) |
Definition at line 35 of file kDTreeTest.cxx.
Test kdTree for memory leaks.
Definition at line 61 of file kDTreeTest.cxx.
compare the results of different data setting functions nothing printed - all works correctly
Definition at line 183 of file kDTreeTest.cxx.
| void TestMembers | ( | ) |
This is not really a test, it's a function that illustrates the internal behaviour of the kd-tree.
Print out the internal kd-tree data-members, like fCrossNode, for better understading
Definition at line 89 of file kDTreeTest.cxx.
| void TestNeighbors | ( | ) |
Test TKDTree::FindNearestNeighbors() function.
Definition at line 384 of file kDTreeTest.cxx.
| void TestRange | ( | ) |
Definition at line 471 of file kDTreeTest.cxx.
Test of building time of kdTree.
Definition at line 226 of file kDTreeTest.cxx.
| bool showGraphics = false |
Definition at line 23 of file kDTreeTest.cxx.