Created by Scott Robert Ladd at Coyote Gulch Productions.
#include <migrator.h>
OrganismType | - The type of organism that will be migrating |
virtual libevocosm::migrator< OrganismType >::~migrator | ( | ) | [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 void libevocosm::migrator< OrganismType >::migrate | ( | vector< vector< OrganismType > > & | a_populations | ) | [pure virtual] |
Calling emigrate will remove organisms from a population; these "mgrating" organisms will then be available for addition to another population via the immigrate method. The criteria for emigration is application-specific. Nothing requires that an organism be removed from its original population -- that is simply how "real" life works, when an animal leaves its home (say, a male lion leaving its pride) to join another population.
a_populations | - Set of organism populations between which members will "migrate" |
Implemented in libevocosm::null_migrator< OrganismType >, and libevocosm::random_pool_migrator< OrganismType >.
Referenced by libevocosm::evocosm< OrganismType, LandscapeType >::run_generation().
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.