Evocosm - A C++ Framework for Evolutionary Computing

Main Index

Created by Scott Robert Ladd at Coyote Gulch Productions.


Public Member Functions | List of all members
libevocosm::organism_factory< OrganismType > Class Template Referenceabstract

Interface for an organism factory. More...

#include <evocosm.h>

Public Member Functions

virtual OrganismType create ()=0
 Organism factory. More...
 
virtual void append (vector< OrganismType > &a_population, size_t a_size)=0
 Organism population factory. More...
 

Detailed Description

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

Defines an interface for a class implementing an organism factory.

Parameters
OrganismTypeThe type of organism generated by this factory.

Member Function Documentation

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().

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

Generates a single organism.


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.