Evocosm - A C++ Framework for Evolutionary Computing

Main Index

Created by Scott Robert Ladd at Coyote Gulch Productions.


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

A do-nothing selector. More...

#include <selector.h>

Inheritance diagram for libevocosm::null_selector< OrganismType >:
libevocosm::selector< OrganismType > libevocosm::globals

List of all members.

Public Member Functions

virtual vector< OrganismType > select_survivors (vector< OrganismType > &a_population)
- Public Member Functions inherited from libevocosm::selector< OrganismType >
virtual ~selector ()
 Virtual destructor.

Detailed Description

template<class OrganismType>
class libevocosm::null_selector< OrganismType >

The null_selector doesn't select anything; it's just a placeholder used in evolutionary algorithms that do not use survival.

Parameters:
OrganismType- The type of organism

Member Function Documentation

template<class OrganismType >
virtual vector<OrganismType> libevocosm::null_selector< OrganismType >::select_survivors ( vector< OrganismType > &  a_population)
inlinevirtual

Has no effect on the target population.

Parameters:
a_population- A population of organisms

Implements libevocosm::selector< 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.