GEP::MOStatistics< MOPopulationType > Class Template Reference

#include <MOStatistics.h>

List of all members.

Public Types

typedef mogen_stats
< MOPopulationType > 
GenStatType
typedef morun_stats RunStatType

Public Member Functions

 MOStatistics ()
 MOStatistics (const MOStatistics &c)
 ~MOStatistics ()
void calculateStats (const MOPopulationType &pop, const size_t &gen, const size_t &nbrun)
void summarize (const size_t &run)
std::vector< morun_statssummarizeAll ()
std::vector< morun_statssummarizeAllByGen ()
mogen_stats< BaseIndividualTypegetLastGenStat () const
morun_stats getLastRunStat () const
void setOptimum (const RetIndividualType &opt)

Private Types

typedef
MOPopulationType::ind_type::base_type 
BaseIndividualType
typedef
MOPopulationType::ind_type::ret_type 
RetIndividualType

Private Attributes

std::vector< std::vector
< mogen_stats
< BaseIndividualType > > > 
_vgen_stats
std::vector< morun_stats_vrun_stats
size_t _last_nbrun
RetIndividualType _optimum

Detailed Description

template<class MOPopulationType>
class GEP::MOStatistics< MOPopulationType >

MOStatistics.


Member Typedef Documentation

template<class MOPopulationType >
typedef MOPopulationType::ind_type::base_type GEP::MOStatistics< MOPopulationType >::BaseIndividualType [private]
template<class MOPopulationType >
typedef mogen_stats<MOPopulationType> GEP::MOStatistics< MOPopulationType >::GenStatType
template<class MOPopulationType >
typedef MOPopulationType::ind_type::ret_type GEP::MOStatistics< MOPopulationType >::RetIndividualType [private]
template<class MOPopulationType >
typedef morun_stats GEP::MOStatistics< MOPopulationType >::RunStatType

Constructor & Destructor Documentation

template<class MOPopulationType >
GEP::MOStatistics< MOPopulationType >::MOStatistics (  )  [inline]
template<class MOPopulationType >
GEP::MOStatistics< MOPopulationType >::MOStatistics ( const MOStatistics< MOPopulationType > &  c  )  [inline]
template<class MOPopulationType >
GEP::MOStatistics< MOPopulationType >::~MOStatistics (  )  [inline]

Member Function Documentation

template<class MOPopulationType >
void GEP::MOStatistics< MOPopulationType >::calculateStats ( const MOPopulationType &  pop,
const size_t &  gen,
const size_t &  nbrun 
) [inline]
template<class MOPopulationType >
mogen_stats<BaseIndividualType> GEP::MOStatistics< MOPopulationType >::getLastGenStat (  )  const [inline]
template<class MOPopulationType >
morun_stats GEP::MOStatistics< MOPopulationType >::getLastRunStat (  )  const [inline]
template<class MOPopulationType >
void GEP::MOStatistics< MOPopulationType >::setOptimum ( const RetIndividualType opt  )  [inline]
template<class MOPopulationType >
void GEP::MOStatistics< MOPopulationType >::summarize ( const size_t &  run  )  [inline]
template<class MOPopulationType >
std::vector<morun_stats> GEP::MOStatistics< MOPopulationType >::summarizeAll (  ) 
template<class MOPopulationType >
std::vector< morun_stats > GEP::MOStatistics< MOPopulationType >::summarizeAllByGen (  )  [inline]

Member Data Documentation

template<class MOPopulationType >
size_t GEP::MOStatistics< MOPopulationType >::_last_nbrun [private]
template<class MOPopulationType >
RetIndividualType GEP::MOStatistics< MOPopulationType >::_optimum [private]
template<class MOPopulationType >
std::vector<std::vector<mogen_stats<BaseIndividualType> > > GEP::MOStatistics< MOPopulationType >::_vgen_stats [private]

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

template<class MOPopulationType >
std::vector<morun_stats> GEP::MOStatistics< MOPopulationType >::_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