Created by Scott Robert Ladd at Coyote Gulch Productions.
A quadratic scaler. More...
#include <scaler.h>
Public Member Functions | |
quadratic_scaler (double a_a, double a_b, double a_c) | |
Constructor. | |
virtual void | scale_fitness (vector< OrganismType > &a_population) |
Scaling function. | |
![]() | |
virtual | ~scaler () |
Virtual destructor. |
Uses a quadratic equation to scale the fitness of organisms.
OrganismType | - The type of organism |
|
inline |
Creates a new scaler for quadratic scaling.
|
inlinevirtual |
Performs quadratic scling on the fitness of the target population.
a_population | - A population of organisms |
Implements libevocosm::scaler< OrganismType >.
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.