SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
histogram Class Reference

Public Member Functions

double min () const
 
double max () const
 
const std::vector< size_t > & data () const
 
const std::vector< double > & normalized_data () const
 
double range () const
 
double bucket_size () const
 
void clear ()
 
void create_histogram (const timeline_t &tl, size_t num_buckets, double min, double max)
 
void create_histogram (const timeline_t &tl, size_t num_buckets)
 
void create_histogram (const extended_sample_data_t &sd, size_t num_buckets, double min, double max)
 
void create_histogram (const extended_sample_data_t &sd, size_t num_buckets)
 
void accumulate (const histogram &other)
 
double percentile (double p)
 
void create_normalized_data ()
 
size_t num_entries () const