Evocosm - A C++ Framework for Evolutionary Computing

Main Index

Created by Scott Robert Ladd at Coyote Gulch Productions.


Public Member Functions
libevocosm::sigma_scaler< OrganismType > Class Template Reference

A sigma scaler. More...

#include <scaler.h>

Inheritance diagram for libevocosm::sigma_scaler< OrganismType >:
libevocosm::scaler< OrganismType > libevocosm::globals

List of all members.

Public Member Functions

 sigma_scaler ()
 Constructor.
virtual void scale_fitness (vector< OrganismType > &a_population)
 Scaling function.
- Public Member Functions inherited from libevocosm::scaler< OrganismType >
virtual ~scaler ()
 Virtual destructor.

Detailed Description

template<class OrganismType>
class libevocosm::sigma_scaler< OrganismType >

A sigma scaler, as per Forrest and Tanese.

Parameters:
OrganismType- The type of organism

Constructor & Destructor Documentation

template<class OrganismType >
libevocosm::sigma_scaler< OrganismType >::sigma_scaler ( )
inline

Creates a new sigma scaler


Member Function Documentation

template<class OrganismType >
virtual void libevocosm::sigma_scaler< OrganismType >::scale_fitness ( vector< OrganismType > &  a_population)
inlinevirtual

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.

Parameters:
a_population- A population of organisms

Implements libevocosm::scaler< OrganismType >.

References libevocosm::fitness_stats< OrganismType >::getSigma().


The documentation for this class was generated from the following file:

© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.