Evocosm - A C++ Framework for Evolutionary Computing
Created by Scott Robert Ladd at
Coyote Gulch Productions.
libevocosm::random_pool_migrator< OrganismType > Class Template Reference
A pool-based migrator.
More...
#include <migrator.h>
Inheritance diagram for libevocosm::random_pool_migrator< OrganismType >:
List of all members.Public Member Functions
- random_pool_migrator (size_t a_how_many)
- Constructor.
- virtual void migrate (vector< vector< OrganismType > > &a_populations)
- Emigrate organisms to pool.
Detailed Description
template<class OrganismType>
class libevocosm::random_pool_migrator< OrganismType >
The pool_migrator maintains a pool of organisms taken from one or more populations, which are then available for immigration to other populations.
Constructor & Destructor Documentation
|
Creates a new pool_migrator. |
Member Function Documentation
template<class OrganismType> |
virtual void libevocosm::random_pool_migrator< OrganismType >::migrate |
( |
vector< vector< OrganismType > > & |
a_populations |
) |
[inline, virtual] |
|
|
Copies organisms from the target population based on the constructor setting. - Parameters:
-
| a_populations | - Set of organism populations between which members will "migrate" |
Implements libevocosm::migrator< 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.