|
DiSMEC++
|
#include <statistics.h>
Public Member Functions | |
| FullRecordStat ()=default | |
| ~FullRecordStat () override=default | |
| void | record_int (long value) override |
| void | record_real (real_t value) override |
| std::unique_ptr< Statistics > | clone () const override |
| void | merge_imp (const FullRecordStat &other) |
| nlohmann::json | to_json () const override |
| Converts the statistics current value into a json object. More... | |
Public Member Functions inherited from dismec::stats::StatImplBase< FullRecordStat > | |
| void | merge (const Statistics &other) override |
| Merges this statistics of another one of the same type and settings. More... | |
| void | record_vec (const DenseRealVector &vector) override |
Public Member Functions inherited from dismec::stats::Statistics | |
| virtual | ~Statistics ()=default |
| void | record (int integer) |
| void | record (long integer) |
| void | record (real_t real) |
| void | record (const DenseRealVector &vector) |
| virtual void | setup (const StatisticsCollection &source) |
This function has to be called before the Statistics is used to collect data for the first time. More... | |
Private Attributes | |
| std::vector< real_t > | m_Data |
Definition at line 87 of file statistics.h.
|
default |
|
overridedefault |
|
overridevirtual |
Implements dismec::stats::Statistics.
Definition at line 174 of file statistics.cpp.
| void FullRecordStat::merge_imp | ( | const FullRecordStat & | other | ) |
Definition at line 177 of file statistics.cpp.
References m_Data.
|
overridevirtual |
Reimplemented from dismec::stats::Statistics.
Definition at line 170 of file statistics.cpp.
References m_Data.
|
overridevirtual |
Reimplemented from dismec::stats::Statistics.
Definition at line 166 of file statistics.cpp.
References m_Data.
|
overridevirtual |
Converts the statistics current value into a json object.
Implements dismec::stats::Statistics.
Definition at line 182 of file statistics.cpp.
References m_Data.
|
private |
Definition at line 99 of file statistics.h.
Referenced by merge_imp(), record_int(), record_real(), and to_json().