Evocosm - A C++ Framework for Evolutionary Computing

Main Index

Created by Scott Robert Ladd at Coyote Gulch Productions.


libevocosm::quadratic_scaler< OrganismType > Class Template Reference

A quadratic scaler. More...

#include <scaler.h>

Inheritance diagram for libevocosm::quadratic_scaler< OrganismType >:

libevocosm::scaler< OrganismType > libevocosm::globals List of all members.

Public Member Functions


Detailed Description

template<class OrganismType>
class libevocosm::quadratic_scaler< OrganismType >

Uses a quadratic equation to scale the fitness of organisms.
Parameters:
OrganismType - The type of organism


Constructor & Destructor Documentation

template<class OrganismType>
libevocosm::quadratic_scaler< OrganismType >::quadratic_scaler double  a_a,
double  a_b,
double  a_c
[inline]
 

Creates a new scaler for quadratic scaling.


Member Function Documentation

template<class OrganismType>
virtual void libevocosm::quadratic_scaler< OrganismType >::scale_fitness vector< OrganismType > &  a_population  )  [inline, virtual]
 

Performs quadratic scling 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.