#include <ANN/ANN.h>
#include <ANN/ANNperf.h>
Go to the source code of this file.
Functions | |
DLL_API void | annPrintStats (ANNbool validate) |
DLL_API void | annResetCounts () |
DLL_API void | annResetStats (int data_size) |
DLL_API void | annUpdateStats () |
void | print_one_stat (char *title, ANNsampStat s, double div) |
Variables | |
ANNsampStat | ann_average_err |
ANNsampStat | ann_coord_hts |
ANNsampStat | ann_float_ops |
int | ann_Ncoord_hts = 0 |
int | ann_Ndata_pts = 0 |
int | ann_Nfloat_ops = 0 |
int | ann_Nvisit_lfs = 0 |
int | ann_Nvisit_pts = 0 |
int | ann_Nvisit_shr = 0 |
int | ann_Nvisit_spl = 0 |
ANNsampStat | ann_rank_err |
ANNsampStat | ann_visit_lfs |
ANNsampStat | ann_visit_nds |
ANNsampStat | ann_visit_pts |
ANNsampStat | ann_visit_shr |
ANNsampStat | ann_visit_spl |
DLL_API void annPrintStats | ( | ANNbool | validate | ) |
Definition at line 114 of file perf.cpp.
References ann_Ndata_pts, and print_one_stat().
Referenced by main().
DLL_API void annResetCounts | ( | ) |
Definition at line 83 of file perf.cpp.
References ann_Ncoord_hts, ann_Nfloat_ops, ann_Nvisit_lfs, ann_Nvisit_pts, ann_Nvisit_shr, and ann_Nvisit_spl.
Referenced by main().
DLL_API void annResetStats | ( | int | data_size | ) |
Definition at line 69 of file perf.cpp.
References ann_Ndata_pts, and ANNsampStat::reset().
Referenced by main().
DLL_API void annUpdateStats | ( | ) |
Definition at line 93 of file perf.cpp.
References ann_Ncoord_hts, ann_Nfloat_ops, ann_Nvisit_lfs, ann_Nvisit_pts, ann_Nvisit_shr, and ann_Nvisit_spl.
Referenced by main().
void print_one_stat | ( | char * | title, | |
ANNsampStat | s, | |||
double | div | |||
) |
Definition at line 105 of file perf.cpp.
References ANNsampStat::max(), ANNsampStat::mean(), ANNsampStat::min(), and ANNsampStat::stdDev().
Referenced by annPrintStats().
Definition at line 62 of file perf.cpp.
Referenced by doValidation().
int ann_Ncoord_hts = 0 |
Definition at line 52 of file perf.cpp.
Referenced by annResetCounts(), and annUpdateStats().
int ann_Ndata_pts = 0 |
Definition at line 47 of file perf.cpp.
Referenced by annPrintStats(), and annResetStats().
int ann_Nfloat_ops = 0 |
Definition at line 53 of file perf.cpp.
Referenced by annResetCounts(), and annUpdateStats().
int ann_Nvisit_lfs = 0 |
Definition at line 48 of file perf.cpp.
Referenced by annResetCounts(), and annUpdateStats().
int ann_Nvisit_pts = 0 |
Definition at line 51 of file perf.cpp.
Referenced by annResetCounts(), and annUpdateStats().
int ann_Nvisit_shr = 0 |
Definition at line 50 of file perf.cpp.
Referenced by annResetCounts(), and annUpdateStats().
int ann_Nvisit_spl = 0 |
Definition at line 49 of file perf.cpp.
Referenced by annResetCounts(), and annUpdateStats().
Definition at line 63 of file perf.cpp.
Referenced by doValidation().