Empirical
|
#include <DataNode.h>
Public Member Functions | |
DataNodeModule () | |
double | GetTotal () const |
Get the sum of all values added to this DataNode since the last reset. More... | |
double | GetMean () const |
Get the mean of all values added to this DataNode since the last reset. More... | |
double | GetMin () const |
Get the min of all values added to this DataNode since the last reset. More... | |
double | GetMax () const |
Get the max of all values added to this DataNode since the last reset. More... | |
void | AddDatum (const VAL_TYPE &val) |
Add. More... | |
void | Reset () |
Reset DataNode, setting the running calucluations of total, min, mean, and max to 0. More... | |
void | PrintDebug (std::ostream &os=std::cout) |
Print debug information (useful for figuring out which modifiers you included) More... | |
Protected Types | |
using | this_t = DataNodeModule< VAL_TYPE, data::Range, MODS... > |
using | parent_t = DataNodeModule< VAL_TYPE, MODS... > |
using | base_t = DataNodeModule< VAL_TYPE > |
Protected Attributes | |
double | total |
Total of all data since last reset. More... | |
double | min |
Smallest value passed in since last reset. More... | |
double | max |
Largest value passed in since last reset. More... | |
== data::Range == This module allows this DataNode to store information (min, max, mean, count, and total) about the distribution of the values that have been added since the last call to Reset().
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
Add.
val | to this DataNode |
|
inline |
Get the max of all values added to this DataNode since the last reset.
|
inline |
Get the mean of all values added to this DataNode since the last reset.
|
inline |
Get the min of all values added to this DataNode since the last reset.
|
inline |
Get the sum of all values added to this DataNode since the last reset.
|
inline |
Print debug information (useful for figuring out which modifiers you included)
|
inline |
Reset DataNode, setting the running calucluations of total, min, mean, and max to 0.
|
protected |
Largest value passed in since last reset.
|
protected |
Smallest value passed in since last reset.
|
protected |
Total of all data since last reset.