SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
simple_sample_data_with_min_max_t Class Reference
Inheritance diagram for simple_sample_data_with_min_max_t:
simple_sample_data_t extended_sample_data_t sample_data_helper_t

Public Member Functions

void add (value_t x)
 
value_t min () const
 
value_t max () const
 
void merge (const simple_sample_data_with_min_max_t &other)
 
void reset ()
 
- Public Member Functions inherited from simple_sample_data_t
void add (double x)
 
value_t mean () const
 
value_t pretty_mean () const
 
value_t sum () const
 
size_t count () const
 
void merge (const simple_sample_data_t &other)
 
void reset ()
 

Protected Member Functions

void set_min (double x)
 
void set_max (double x)
 

Protected Attributes

value_t _min = std::numeric_limits<value_t>::max()
 
value_t _max = std::numeric_limits<value_t>::lowest()
 
- Protected Attributes inherited from simple_sample_data_t
value_t _sum = 0.0
 
size_t _count = 0
 

Additional Inherited Members

- Public Types inherited from simple_sample_data_t
using value_t = double
 
- Static Protected Member Functions inherited from simple_sample_data_t
static value_t nan ()
 
- Static Protected Attributes inherited from simple_sample_data_t
static const bool SAMPLE_DATA_NO_NAN = true