Vita
|
Analyzer takes a statistics snapshot of a population. More...
#include <analyzer.h>
Classes | |
struct | sym_counter |
Public Types | |
using | const_iterator = typename std::map< const symbol *, sym_counter >::const_iterator |
Type returned by begin() and end() methods to iterate through the statistics of the various symbols. More... | |
Public Member Functions | |
void | add (const T &, const fitness_t &, unsigned=0) |
const distribution< double > & | age_dist () const |
const distribution< double > & | age_dist (unsigned) const |
const_iterator | begin () const |
void | clear () |
const_iterator | end () const |
const distribution< fitness_t > & | fit_dist () const |
const distribution< fitness_t > & | fit_dist (unsigned) const |
std::uintmax_t | functions (bool) const |
bool | is_valid () const |
const distribution< double > & | length_dist () const |
std::uintmax_t | terminals (bool) const |
Analyzer takes a statistics snapshot of a population.
T | type of individual |
Procedure:
You can get information about:
age_dist()
, fit_dist()
, length_dist()
, functions()
, terminals()
methods);begin()
/ end()
methods);age_dist(unsigned)
, fit_dist(unsigned)
). Definition at line 43 of file analyzer.h.
using vita::analyzer< T >::const_iterator = typename std::map<const symbol *, sym_counter>::const_iterator |
Type returned by begin() and end() methods to iterate through the statistics of the various symbols.
Definition at line 71 of file analyzer.h.