Bug Details
Statistics do not work with GaSimpleAlgorithm
Posted by: Coolsoft
Posted at: 11/11/2008 3:50:01 PM
Fixed: Yes(11/11/2008 4:00:00 PM)
Closed: Yes(11/11/2008 4:00:00 PM)
Product Name: Genetic Algorithm Library
Product Version: 1.3 Open Source
Operationg System: Any
Details:
Statistics not working with simple genetic algorithm (algorithms that use non-overlapping population, represented by GaSimpleAlgorithm class).
Actual Result:
Statistics freeze after the first generation.
Post comment (500 characters max):
Login Singup
 
Comments
Posted by Coolsoft at 11/11/2008 3:54:13 PM
To fix the issue Population.h:618 line should be modified from:

_statistics.CopyFrom( previous._statistics, false, true, true );

to:

_statistics.CopyFrom( previous._statistics, true, false, true );