#include <statistc.h>
Public Member Functions | |
| STATS (inT32 min_bucket_value, inT32 max_bucket_value_plus_1) | |
| STATS () | |
| ~STATS () | |
| bool | set_range (inT32 min_bucket_value, inT32 max_bucket_value_plus_1) |
| void | clear () |
| void | add (inT32 value, inT32 count) |
| inT32 | mode () const |
| double | mean () const |
| double | sd () const |
| double | ile (double frac) const |
| inT32 | min_bucket () const |
| inT32 | max_bucket () const |
| double | median () const |
| inT32 | pile_count (inT32 value) const |
| inT32 | get_total () const |
| bool | local_min (inT32 x) const |
| void | smooth (inT32 factor) |
| inT32 | cluster (float lower, float upper, float multiple, inT32 max_clusters, STATS *clusters) |
| int | top_n_modes (int max_modes, GenericVector< tesseract::KDPairInc< float, int > > *modes) const |
| void | print () const |
| void | print_summary () const |
| void | plot (ScrollView *window, float xorigin, float yorigin, float xscale, float yscale, ScrollView::Color colour) const |
| void | plotline (ScrollView *window, float xorigin, float yorigin, float xscale, float yscale, ScrollView::Color colour) const |
Definition at line 33 of file statistc.h.
Definition at line 40 of file statistc.cpp.
| STATS::STATS | ( | ) |
Definition at line 51 of file statistc.cpp.
| STATS::~STATS | ( | ) |
Definition at line 92 of file statistc.cpp.
Definition at line 104 of file statistc.cpp.
| void STATS::clear | ( | ) |
Definition at line 81 of file statistc.cpp.
| inT32 STATS::cluster | ( | float | lower, |
| float | upper, | ||
| float | multiple, | ||
| inT32 | max_clusters, | ||
| STATS * | clusters | ||
| ) |
Definition at line 324 of file statistc.cpp.
|
inline |
Definition at line 86 of file statistc.h.
| double STATS::ile | ( | double | frac | ) | const |
Definition at line 177 of file statistc.cpp.
| bool STATS::local_min | ( | inT32 | x | ) | const |
Definition at line 266 of file statistc.cpp.
| inT32 STATS::max_bucket | ( | ) | const |
Definition at line 225 of file statistc.cpp.
| double STATS::mean | ( | ) | const |
Definition at line 138 of file statistc.cpp.
| double STATS::median | ( | ) | const |
Definition at line 243 of file statistc.cpp.
| inT32 STATS::min_bucket | ( | ) | const |
Definition at line 209 of file statistc.cpp.
| inT32 STATS::mode | ( | ) | const |
Definition at line 118 of file statistc.cpp.
Definition at line 78 of file statistc.h.
| void STATS::plot | ( | ScrollView * | window, |
| float | xorigin, | ||
| float | yorigin, | ||
| float | xscale, | ||
| float | yscale, | ||
| ScrollView::Color | colour | ||
| ) | const |
Definition at line 589 of file statistc.cpp.
| void STATS::plotline | ( | ScrollView * | window, |
| float | xorigin, | ||
| float | yorigin, | ||
| float | xscale, | ||
| float | yscale, | ||
| ScrollView::Color | colour | ||
| ) | const |
Definition at line 616 of file statistc.cpp.
| void STATS::print | ( | ) | const |
Definition at line 538 of file statistc.cpp.
| void STATS::print_summary | ( | ) | const |
Definition at line 564 of file statistc.cpp.
| double STATS::sd | ( | ) | const |
Definition at line 154 of file statistc.cpp.
Definition at line 62 of file statistc.cpp.
| void STATS::smooth | ( | inT32 | factor | ) |
Definition at line 293 of file statistc.cpp.
| int STATS::top_n_modes | ( | int | max_modes, |
| GenericVector< tesseract::KDPairInc< float, int > > * | modes | ||
| ) | const |
Definition at line 473 of file statistc.cpp.