Created by Scott Robert Ladd at Coyote Gulch Productions.
#include <reproducer.h>
Inheritance diagram for libevocosm::reproducer< OrganismType >:
OrganismType | - The type of organism |
virtual libevocosm::reproducer< OrganismType >::~reproducer | ( | ) | [inline, virtual] |
A virtual destructor. By default, it does nothing; this is a placeholder that identifies this class as a potential base, ensuring that objects of a derived class will have their destructors called if they are destroyed through a base-class pointer.
virtual vector<OrganismType> libevocosm::reproducer< OrganismType >::breed | ( | const vector< OrganismType > & | a_population, | |
size_t | a_limit | |||
) | [pure virtual] |
A population provides genetic material for the creation of new children (who, will, like real children, forget where they left their shoes).
a_population | - A population of organisms | |
a_limit | - The maximum number of children the generate |
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.