10 #ifndef TSLIDINGWINDOW_H 11 #define TSLIDINGWINDOW_H 23 namespace mrpt {
namespace graphslam {
63 bool evaluateMeasurementInGaussian(
double measurement);
69 bool evaluateMeasurementAbove(
double value);
75 bool evaluateMeasurementBelow(
double value);
77 void addNewMeasurement(
double measurement);
83 void resizeWindow(
size_t new_size);
84 void loadFromConfigFile(
92 size_t getWindowSize()
const;
98 bool windowIsFull()
const;
std::vector< double > m_measurements_vec
This class allows loading and storing values and vectors of different types from a configuration text...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
bool m_is_initialized
flag is raised the first time that TSlidingWindow::addNewMeasurement is called
double m_mean_cached
Cached mean value.
double m_std_dev_cached
Cached version of the standard deviation.
GLsizei const GLchar ** string
bool m_median_updated
Is the median up-to-date?
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Class to monitor the evolution of a statistical quantity.
GLuint const GLchar * name
GLsizei GLsizei GLchar * source
std::string m_name
Name of the TSlidingWindow Instance at hand.
GLsizei const GLfloat * value
bool m_mean_updated
Is the mean up-to-date?
double m_median_cached
Cached median value.
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
bool m_std_dev_updated
Is the standard deviation up-to-date?