SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
sc_timeline_t Struct Reference
Inheritance diagram for sc_timeline_t:
timeline_t

Public Member Functions

void set_bin_size (double bin)
 
double bin_size () const
 
void add (timespan_t current_time, double value)
 
void add_max (timespan_t current_time, double new_value)
 
void adjust (sim_t &sim)
 
void adjust (const extended_sample_data_t &adjustor)
 
void build_derivative_timeline (sc_timeline_t &out) const
 
- Public Member Functions inherited from timeline_t
const std::vector< double > & data () const
 
void init (size_t length)
 
void resize (size_t length)
 
void add (size_t index, double value)
 
template<class A >
void adjust (const std::vector< A > &divisor_timeline)
 
double mean () const
 
double mean_stddev () const
 
void merge (const timeline_t &other)
 
void build_sliding_average_timeline (timeline_t &out, unsigned window) const
 
double max () const
 
double min () const
 
void clear ()