Evocosm - A C++ Framework for Evolutionary Computing

Main Index

Created by Scott Robert Ladd at Coyote Gulch Productions.


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

A linear normalization scaler. More...

#include <scaler.h>

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

List of all members.

Public Member Functions

 linear_norm_scaler (double a_fitness_multiple=2.0)
 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::linear_norm_scaler< OrganismType >

A simple scaler implementing a configurable linear normalization scaler, as per Goldberg 1979.

Parameters:
OrganismType- The type of organism

Constructor & Destructor Documentation

template<class OrganismType>
libevocosm::linear_norm_scaler< OrganismType >::linear_norm_scaler ( double  a_fitness_multiple = 2.0)
inline

Creates a new scaler for linear normalization.


Member Function Documentation

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

Performs linear normalization on the fitness of the target population.

Parameters:
a_population- A population of organisms

Implements libevocosm::scaler< OrganismType >.


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.