Created by Scott Robert Ladd at Coyote Gulch Productions.
A sigma scaler. More...
#include <scaler.h>
A sigma scaler, as per Forrest and Tanese.
OrganismType | - The type of organism |
libevocosm::sigma_scaler< OrganismType >::sigma_scaler | ( | ) | [inline] |
Creates a new sigma scaler
virtual void libevocosm::sigma_scaler< OrganismType >::scale_fitness | ( | vector< OrganismType > & | a_population | ) | [inline, virtual] |
Performs sigma scaling, which maintains selection pressure over the length of a run, thus minimizing the affects of convergence on reproductive selection. The function adjusts an organism's fitness in relation to the standard deviation of the population's fitness.
a_population | - A population of organisms |
Implements libevocosm::scaler< OrganismType >.
References libevocosm::fitness_stats< OrganismType >::getSigma().
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.