SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
|
Public Member Functions | |
extended_sample_data_t (util::string_view n, bool s=true) | |
void | change_mode (bool simple) |
const std::string & | name () const |
void | reserve (std::size_t capacity) |
void | add (value_t x) |
bool | sorted () const |
size_t | size () const |
void | analyze () |
void | analyze_basics () |
value_t | mean () const |
value_t | pretty_mean () const |
size_t | count () const |
void | analyze_variance () |
void | sort () |
void | create_histogram (unsigned int num_buckets=50) |
void | clear () |
value_t | percentile (double x) const |
const std::vector< value_t > & | data () const |
const std::vector< value_t > & | sorted_data () const |
void | merge (const extended_sample_data_t &other) |
Public Member Functions inherited from simple_sample_data_with_min_max_t | |
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 () |
Public Attributes | |
std::string | name_str |
value_t | _mean |
value_t | variance |
value_t | std_dev |
value_t | mean_variance |
value_t | mean_std_dev |
std::vector< size_t > | distribution |
bool | simple |
Additional Inherited Members | |
Public Types inherited from simple_sample_data_t | |
using | value_t = double |
Protected Member Functions inherited from simple_sample_data_with_min_max_t | |
void | set_min (double x) |
void | set_max (double x) |
Static Protected Member Functions inherited from simple_sample_data_t | |
static value_t | nan () |
Protected Attributes inherited from simple_sample_data_with_min_max_t | |
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 |
Static Protected Attributes inherited from simple_sample_data_t | |
static const bool | SAMPLE_DATA_NO_NAN = true |