#include <datasmoother.h>
Classes | |
struct | DataPoint |
Public Types | |
typedef std::vector< DataPoint > | Data |
Public Member Functions | |
void | add (double x, double p) |
void | approxGauss (double step, double *mean, double *sigma) |
void | computeCummuated () |
double | cramerVonMisesToGauss (double step, double mean, double sigma) |
DataSmoother (double parzenWindow) | |
double | gauss (double x, double mean, double sigma) |
void | gnuplotDumpData (FILE *fp) |
void | gnuplotDumpSmoothedData (FILE *fp, double step) |
void | init (double parzenWindow) |
double | integral (double step, double xTo) |
void | integrate (double step) |
double | kldToGauss (double step, double mean, double sigma) |
double | sample () |
void | sampleMultiple (std::vector< double > &samples, int num) |
double | sampleNumeric (double step) |
void | setMinToZero () |
double | smoothedData (double x) |
double | sqr (double x) |
virtual | ~DataSmoother () |
Protected Attributes | |
std::vector< double > | m_cummulated |
Data | m_data |
double | m_from |
double | m_int |
double | m_lastStep |
double | m_parzenWindow |
double | m_to |
Definition at line 11 of file datasmoother.h.
typedef std::vector<DataPoint> GMapping::DataSmoother::Data |
Definition at line 17 of file datasmoother.h.
GMapping::DataSmoother::DataSmoother | ( | double | parzenWindow | ) | [inline] |
Definition at line 19 of file datasmoother.h.
virtual GMapping::DataSmoother::~DataSmoother | ( | ) | [inline, virtual] |
Definition at line 23 of file datasmoother.h.
void GMapping::DataSmoother::add | ( | double | x, | |
double | p | |||
) | [inline] |
Definition at line 61 of file datasmoother.h.
void GMapping::DataSmoother::approxGauss | ( | double | step, | |
double * | mean, | |||
double * | sigma | |||
) | [inline] |
Definition at line 195 of file datasmoother.h.
void GMapping::DataSmoother::computeCummuated | ( | ) | [inline] |
Definition at line 124 of file datasmoother.h.
double GMapping::DataSmoother::cramerVonMisesToGauss | ( | double | step, | |
double | mean, | |||
double | sigma | |||
) | [inline] |
Definition at line 224 of file datasmoother.h.
double GMapping::DataSmoother::gauss | ( | double | x, | |
double | mean, | |||
double | sigma | |||
) | [inline] |
Definition at line 220 of file datasmoother.h.
void GMapping::DataSmoother::gnuplotDumpData | ( | FILE * | fp | ) | [inline] |
Definition at line 276 of file datasmoother.h.
void GMapping::DataSmoother::gnuplotDumpSmoothedData | ( | FILE * | fp, | |
double | step | |||
) | [inline] |
Definition at line 283 of file datasmoother.h.
void GMapping::DataSmoother::init | ( | double | parzenWindow | ) | [inline] |
Definition at line 28 of file datasmoother.h.
double GMapping::DataSmoother::integral | ( | double | step, | |
double | xTo | |||
) | [inline] |
Definition at line 82 of file datasmoother.h.
void GMapping::DataSmoother::integrate | ( | double | step | ) | [inline] |
Definition at line 74 of file datasmoother.h.
double GMapping::DataSmoother::kldToGauss | ( | double | step, | |
double | mean, | |||
double | sigma | |||
) | [inline] |
Definition at line 245 of file datasmoother.h.
double GMapping::DataSmoother::sample | ( | ) | [inline] |
Definition at line 136 of file datasmoother.h.
void GMapping::DataSmoother::sampleMultiple | ( | std::vector< double > & | samples, | |
int | num | |||
) | [inline] |
Definition at line 161 of file datasmoother.h.
double GMapping::DataSmoother::sampleNumeric | ( | double | step | ) | [inline] |
Definition at line 107 of file datasmoother.h.
void GMapping::DataSmoother::setMinToZero | ( | ) | [inline] |
Definition at line 44 of file datasmoother.h.
double GMapping::DataSmoother::smoothedData | ( | double | x | ) | [inline] |
Definition at line 90 of file datasmoother.h.
double GMapping::DataSmoother::sqr | ( | double | x | ) | [inline] |
Definition at line 39 of file datasmoother.h.
std::vector<double> GMapping::DataSmoother::m_cummulated [protected] |
Definition at line 290 of file datasmoother.h.
Data GMapping::DataSmoother::m_data [protected] |
Definition at line 289 of file datasmoother.h.
double GMapping::DataSmoother::m_from [protected] |
Definition at line 295 of file datasmoother.h.
double GMapping::DataSmoother::m_int [protected] |
Definition at line 291 of file datasmoother.h.
double GMapping::DataSmoother::m_lastStep [protected] |
Definition at line 292 of file datasmoother.h.
double GMapping::DataSmoother::m_parzenWindow [protected] |
Definition at line 294 of file datasmoother.h.
double GMapping::DataSmoother::m_to [protected] |
Definition at line 296 of file datasmoother.h.