![]() |
RobWorkProject
23.9.11-
|
Statistics utility for automatic generation of data set based on a SimulatorLogScope. More...
#include <SimulatorStatistics.hpp>
Public Types | |
| typedef rw::core::Ptr< SimulatorStatistics > | Ptr |
| Smart pointer type of SimulatorStatistics. | |
| typedef std::map< std::string, std::vector< double > > | DataSeries |
| Type of a DataSeries collection (each series is a name and a list of numbers) | |
Public Member Functions | |
| SimulatorStatistics (const class SimulatorLogScope *log) | |
| Create a new statistics on the given SimulatorLogScope. More... | |
| virtual | ~SimulatorStatistics () |
| Destructor. | |
| void | update () |
| Generate statistics. | |
| bool | hasData () const |
| Check if any statistics was generated. | |
| const DataSeries & | getSeries () const |
| Get the found statistics. More... | |
Statistics utility for automatic generation of data set based on a SimulatorLogScope.
| SimulatorStatistics | ( | const class SimulatorLogScope * | log | ) |
Create a new statistics on the given SimulatorLogScope.
| log | [in/out] the log to create statistics based on. |
| const DataSeries& getSeries | ( | ) | const |
Get the found statistics.