iCub-main
|
#include <embot_tools.h>
Classes | |
struct | Config |
struct | Impl |
struct | Values |
Public Member Functions | |
Histogram () | |
~Histogram () | |
bool | init (const Config &config) |
bool | add (std::uint64_t value) |
bool | reset () |
const embot::tools::Histogram::Config * | getconfig () const |
const embot::tools::Histogram::Values * | getvalues () const |
bool | probabilitydensityfunction (std::vector< std::uint32_t > &values, const std::uint32_t scale) const |
bool | probabilitydensityfunction (std::vector< double > &values) const |
Definition at line 37 of file embot_tools.h.
embot::tools::Histogram::Histogram | ( | ) |
Definition at line 373 of file embot_tools.cpp.
embot::tools::Histogram::~Histogram | ( | ) |
Definition at line 379 of file embot_tools.cpp.
bool embot::tools::Histogram::add | ( | std::uint64_t | value | ) |
Definition at line 397 of file embot_tools.cpp.
const embot::tools::Histogram::Config * embot::tools::Histogram::getconfig | ( | ) | const |
Definition at line 402 of file embot_tools.cpp.
const embot::tools::Histogram::Values * embot::tools::Histogram::getvalues | ( | ) | const |
Definition at line 407 of file embot_tools.cpp.
bool embot::tools::Histogram::init | ( | const Config & | config | ) |
Definition at line 385 of file embot_tools.cpp.
bool embot::tools::Histogram::probabilitydensityfunction | ( | std::vector< double > & | values | ) | const |
Definition at line 476 of file embot_tools.cpp.
bool embot::tools::Histogram::probabilitydensityfunction | ( | std::vector< std::uint32_t > & | values, |
const std::uint32_t | scale | ||
) | const |
Definition at line 498 of file embot_tools.cpp.
bool embot::tools::Histogram::reset | ( | ) |
Definition at line 391 of file embot_tools.cpp.