Evocosm - A C++ Framework for Evolutionary Computing

Main Index

Created by Scott Robert Ladd at Coyote Gulch Productions.


libevocosm::organism_factory< OrganismType > Class Template Reference

Interface for an organism factory. More...

#include <evocosm.h>

List of all members.

Public Member Functions


Detailed Description

template<class OrganismType>
class libevocosm::organism_factory< OrganismType >

Defines an interface for a class implementing an organism factory.
Parameters:
OrganismType The type of organism generated by this factory.

Member Function Documentation

template<class OrganismType>
virtual OrganismType libevocosm::organism_factory< OrganismType >::create (  )  [pure virtual]

Generates a single organism.

template<class OrganismType>
virtual void libevocosm::organism_factory< OrganismType >::append ( vector< OrganismType > &  a_population,
size_t  a_size 
) [pure virtual]

Appends new organisms to a population.

Referenced by libevocosm::evocosm< OrganismType, LandscapeType >::evocosm().


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.