This module have the class which is reponsible to keep statistics of each generation. This class is used by the adapters and other statistics dump objects.
Statistics Class - A class bean-like to store the statistics
The statistics hold by this class are:
>>> stats = ga_engine.getStatistics()
>>> st["rawMax"]
10.2
Returns the stats as a python tuple
Set all statistics to zero
Instantiate a new Statistic class with the same contents
Copy the values to the obj variable of the same class
Parameters: | obj – the Statistics object destination |
---|
Return a tuple (name, value) for all stored statistics