Statistics.h File Reference

This file contains declaration of classes and datatypes needed for tracking statistical information about populations and genetic algorithms. More...

#include "Platform.h"
#include "ChromosomeOperations.h"

Namespaces

namespace  Common

Classes

class  Common::GaStatValue< T >
 GaStatValue template class stores single statistical value and keeps track of changes of that value between generations. More...
class  Common::GaStatistics
 GaStatistics class keeps track of statistical information about populations, groups of populations or algorithms. It contains information about previous and current statistics, and provides information about progress of statistical values. More...

Typedefs

typedef GaStatValue< float > Common::GaFloatStatValue
 GaFloatStatValue type is instance of GaStatValue template class for single precision floating-point statistical values.

Enumerations

enum  Common::GaStatValueType {
  Common::GSV_BEST_FITNESS, Common::GSV_BEST_FITNESS_SCALED, Common::GSV_AVG_FITNESS, Common::GSV_AVG_FITNESS_SCALED,
  Common::GSV_WORST_FITNESS, Common::GSV_WORST_FITNESS_SCALED, Common::GSV_TOTAL_FITNESS, Common::GSV_TOTAL_FITNESS_SCALED,
  Common::GSV_POPULATION_SIZE
}
 GaStatValueType enumeration defines all types of statistical values which are managed my GaStatistics class. More...

Variables

const int Common::GaNumberOfStatValueTypes = GSV_POPULATION_SIZE - GSV_BEST_FITNESS + 1
 This global constant contains number of statistical values in GaStatistic class and in GaStatValueType enumeration.


Detailed Description

This file contains declaration of classes and datatypes needed for tracking statistical information about populations and genetic algorithms.


Genetic Algorithm Library
Coolsoft Software Development