GEP::Statistics< PopulationType > Class Template Reference

#include <Statistics.h>

List of all members.

Public Types

typedef gen_stats
< BaseIndividualType
GenStatType
typedef run_stats RunStatType

Public Member Functions

 Statistics ()
 Statistics (const Statistics &c)
 ~Statistics ()
void calculateStats (const PopulationType &pop, const size_t &gen, const size_t &nbrun)
std::pair< u_short, u_short > findBestWorst (const PopulationType &pop)
void summarize (const size_t &run)
std::vector< run_statssummarizeAll ()
std::vector< run_statssummarizeAllByGen ()
std::vector< std::vector
< gen_stats
< BaseIndividualType > > > 
getVRunStats () const
std::vector< std::vector
< gen_stats
< BaseIndividualType > > > 
getVRunStats ()
std::vector< run_statsgetRunSummary () const
std::vector< run_statsgetRunSummary ()
gen_stats< BaseIndividualTypegetLastGenStat () const
run_stats getLastRunStat () const

Private Types

typedef
PopulationType::ind_type::base_type 
BaseIndividualType

Private Member Functions

void summarize ()

Private Attributes

std::vector< std::vector
< gen_stats
< BaseIndividualType > > > 
_vgen_stats
std::vector< run_stats_vrun_stats
size_t _last_nbrun

Detailed Description

template<class PopulationType>
class GEP::Statistics< PopulationType >

Statistics.


Member Typedef Documentation

template<class PopulationType >
typedef PopulationType::ind_type::base_type GEP::Statistics< PopulationType >::BaseIndividualType [private]
template<class PopulationType >
typedef gen_stats<BaseIndividualType> GEP::Statistics< PopulationType >::GenStatType
template<class PopulationType >
typedef run_stats GEP::Statistics< PopulationType >::RunStatType

Constructor & Destructor Documentation

template<class PopulationType >
GEP::Statistics< PopulationType >::Statistics (  )  [inline]
template<class PopulationType >
GEP::Statistics< PopulationType >::Statistics ( const Statistics< PopulationType > &  c  )  [inline]
template<class PopulationType >
GEP::Statistics< PopulationType >::~Statistics (  )  [inline]

Member Function Documentation

template<class PopulationType >
void GEP::Statistics< PopulationType >::calculateStats ( const PopulationType &  pop,
const size_t &  gen,
const size_t &  nbrun 
) [inline]
template<class PopulationType >
std::pair< u_short, u_short > GEP::Statistics< PopulationType >::findBestWorst ( const PopulationType &  pop  )  [inline]
template<class PopulationType >
gen_stats<BaseIndividualType> GEP::Statistics< PopulationType >::getLastGenStat (  )  const [inline]
template<class PopulationType >
run_stats GEP::Statistics< PopulationType >::getLastRunStat (  )  const [inline]
template<class PopulationType >
std::vector<run_stats> GEP::Statistics< PopulationType >::getRunSummary (  )  [inline]
template<class PopulationType >
std::vector<run_stats> GEP::Statistics< PopulationType >::getRunSummary (  )  const [inline]
template<class PopulationType >
std::vector< std::vector<gen_stats<BaseIndividualType> > > GEP::Statistics< PopulationType >::getVRunStats (  )  [inline]
template<class PopulationType >
std::vector< std::vector<gen_stats<BaseIndividualType> > > GEP::Statistics< PopulationType >::getVRunStats (  )  const [inline]
template<class PopulationType >
void GEP::Statistics< PopulationType >::summarize ( const size_t &  run  )  [inline]
template<class PopulationType >
void GEP::Statistics< PopulationType >::summarize (  )  [private]
template<class PopulationType >
std::vector<run_stats> GEP::Statistics< PopulationType >::summarizeAll (  ) 
template<class PopulationType >
std::vector< run_stats > GEP::Statistics< PopulationType >::summarizeAllByGen (  )  [inline]

Member Data Documentation

template<class PopulationType >
size_t GEP::Statistics< PopulationType >::_last_nbrun [private]
template<class PopulationType >
std::vector<std::vector<gen_stats<BaseIndividualType> > > GEP::Statistics< PopulationType >::_vgen_stats [private]

Statistics gathered for generation (first vector) and run (second vector)

template<class PopulationType >
std::vector<run_stats> GEP::Statistics< PopulationType >::_vrun_stats [private]

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

Generated on Fri Dec 11 22:28:17 2009 for LibGEP by  doxygen 1.6.1