Vita
Public Member Functions | Public Attributes | List of all members
vita::summary< T > Class Template Reference

A summary of evolution (results, statistics...). More...

#include <evolution_summary.h>

Public Member Functions

void clear ()
 
bool load (std::istream &, const problem &)
 
bool save (std::ostream &) const
 

Public Attributes

analyzer< T > az
 
struct {
   model_measurements   score
 
   T   solution
 
best
 
std::uintmax_t crossovers
 Number of crossovers performed. More...
 
std::chrono::milliseconds elapsed
 Time elapsed from evolution beginning. More...
 
unsigned gen
 
unsigned last_imp
 
std::uintmax_t mutations
 Number of mutations performed. More...
 

Detailed Description

template<class T>
class vita::summary< T >

A summary of evolution (results, statistics...).

Template Parameters
Ttype of individual

Definition at line 29 of file evolution_summary.h.

Member Data Documentation

◆ az

template<class T >
analyzer<T> vita::summary< T >::az

Definition at line 42 of file evolution_summary.h.

◆ crossovers

template<class T >
std::uintmax_t vita::summary< T >::crossovers

Number of crossovers performed.

Definition at line 54 of file evolution_summary.h.

◆ elapsed

template<class T >
std::chrono::milliseconds vita::summary< T >::elapsed

Time elapsed from evolution beginning.

Definition at line 51 of file evolution_summary.h.

◆ gen

template<class T >
unsigned vita::summary< T >::gen

Definition at line 59 of file evolution_summary.h.

◆ last_imp

template<class T >
unsigned vita::summary< T >::last_imp

Definition at line 59 of file evolution_summary.h.

◆ mutations

template<class T >
std::uintmax_t vita::summary< T >::mutations

Number of mutations performed.

Definition at line 57 of file evolution_summary.h.

◆ score

template<class T >
model_measurements vita::summary< T >::score

Definition at line 47 of file evolution_summary.h.

◆ solution

template<class T >
T vita::summary< T >::solution

Definition at line 46 of file evolution_summary.h.


The documentation for this class was generated from the following file: