#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 13 of file datasmoother.h.
typedef std::vector<DataPoint> GMapping::DataSmoother::Data |
Definition at line 21 of file datasmoother.h.
GMapping::DataSmoother::DataSmoother | ( | double | parzenWindow | ) | [inline] |
Definition at line 23 of file datasmoother.h.
virtual GMapping::DataSmoother::~DataSmoother | ( | ) | [inline, virtual] |
Definition at line 27 of file datasmoother.h.
void GMapping::DataSmoother::add | ( | double | x, |
double | p | ||
) | [inline] |
Definition at line 65 of file datasmoother.h.
void GMapping::DataSmoother::approxGauss | ( | double | step, |
double * | mean, | ||
double * | sigma | ||
) | [inline] |
Definition at line 199 of file datasmoother.h.
void GMapping::DataSmoother::computeCummuated | ( | ) | [inline] |
Definition at line 128 of file datasmoother.h.
double GMapping::DataSmoother::cramerVonMisesToGauss | ( | double | step, |
double | mean, | ||
double | sigma | ||
) | [inline] |
Definition at line 228 of file datasmoother.h.
double GMapping::DataSmoother::gauss | ( | double | x, |
double | mean, | ||
double | sigma | ||
) | [inline] |
Definition at line 224 of file datasmoother.h.
void GMapping::DataSmoother::gnuplotDumpData | ( | FILE * | fp | ) | [inline] |
Definition at line 280 of file datasmoother.h.
void GMapping::DataSmoother::gnuplotDumpSmoothedData | ( | FILE * | fp, |
double | step | ||
) | [inline] |
Definition at line 287 of file datasmoother.h.
void GMapping::DataSmoother::init | ( | double | parzenWindow | ) | [inline] |
Definition at line 32 of file datasmoother.h.
double GMapping::DataSmoother::integral | ( | double | step, |
double | xTo | ||
) | [inline] |
Definition at line 86 of file datasmoother.h.
void GMapping::DataSmoother::integrate | ( | double | step | ) | [inline] |
Definition at line 78 of file datasmoother.h.
double GMapping::DataSmoother::kldToGauss | ( | double | step, |
double | mean, | ||
double | sigma | ||
) | [inline] |
Definition at line 249 of file datasmoother.h.
double GMapping::DataSmoother::sample | ( | ) | [inline] |
Definition at line 140 of file datasmoother.h.
void GMapping::DataSmoother::sampleMultiple | ( | std::vector< double > & | samples, |
int | num | ||
) | [inline] |
Definition at line 165 of file datasmoother.h.
double GMapping::DataSmoother::sampleNumeric | ( | double | step | ) | [inline] |
Definition at line 111 of file datasmoother.h.
void GMapping::DataSmoother::setMinToZero | ( | ) | [inline] |
Definition at line 48 of file datasmoother.h.
double GMapping::DataSmoother::smoothedData | ( | double | x | ) | [inline] |
Definition at line 94 of file datasmoother.h.
double GMapping::DataSmoother::sqr | ( | double | x | ) | [inline] |
Definition at line 43 of file datasmoother.h.
std::vector<double> GMapping::DataSmoother::m_cummulated [protected] |
Definition at line 294 of file datasmoother.h.
Data GMapping::DataSmoother::m_data [protected] |
Definition at line 293 of file datasmoother.h.
double GMapping::DataSmoother::m_from [protected] |
Definition at line 299 of file datasmoother.h.
double GMapping::DataSmoother::m_int [protected] |
Definition at line 295 of file datasmoother.h.
double GMapping::DataSmoother::m_lastStep [protected] |
Definition at line 296 of file datasmoother.h.
double GMapping::DataSmoother::m_parzenWindow [protected] |
Definition at line 298 of file datasmoother.h.
double GMapping::DataSmoother::m_to [protected] |
Definition at line 300 of file datasmoother.h.