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

Public Member Functions

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 ()