Wiselib
|
Class that provides statistic information. More...
#include <localization_statistic.h>
Public Types | |
typedef OsModel_P | OsModel |
typedef list_static< OsModel, double, MAX_ENTRIES > | List |
typedef List::iterator | ListIterator |
typedef LocalizationStatistic < OsModel, MAX_ENTRIES > | self_type |
Public Member Functions | |
void | clear (void) |
construction / destruction | |
LocalizationStatistic () | |
LocalizationStatistic (const self_type &) | |
~LocalizationStatistic () | |
adding values | |
void | add (double) |
Add value to internal representation. | |
LocalizationStatistic & | operator+= (double) |
Add value to internal representation. | |
statistic methods | |
double | mean (void) |
This method gives the mean of all values with:
| |
double | variance (void) |
This method gives the variance of all values with:
| |
double | std_dev (void) |
This method gives the standard deviation of all values with:
| |
double | min (void) |
double | max (void) |
some internal info | |
size_t | size (void) |
List | as_list (void) |
Class that provides statistic information.
This class provides statistic information such like mean, variance and standard deviation.
typedef list_static<OsModel, double, MAX_ENTRIES> wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::List |
typedef List::iterator wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::ListIterator |
typedef OsModel_P wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::OsModel |
typedef LocalizationStatistic<OsModel, MAX_ENTRIES> wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::self_type |
wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::LocalizationStatistic | ( | ) |
wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::LocalizationStatistic | ( | const self_type & | ls | ) |
wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::~LocalizationStatistic | ( | ) |
void wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::add | ( | double | value | ) |
Add value to internal representation.
LocalizationStatistic< OsModel_P, MAX_ENTRIES >::List wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::as_list | ( | void | ) |
void wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::clear | ( | void | ) |
double wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::max | ( | void | ) |
double wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::mean | ( | void | ) |
This method gives the mean of all values with:
.
double wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::min | ( | void | ) |
LocalizationStatistic< OsModel_P, MAX_ENTRIES >::self_type & wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::operator+= | ( | double | value | ) |
Add value to internal representation.
size_t wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::size | ( | void | ) |
double wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::std_dev | ( | void | ) |
This method gives the standard deviation of all values with:
.
double wiselib::LocalizationStatistic< OsModel_P, MAX_ENTRIES >::variance | ( | void | ) |