#include <IndividualFactory.h>
Inheritance diagram for genetiK::ga::IndividualFactory:
Public Member Functions | |
IndividualFactory (unsigned int length) | |
Creates a factory that creates Individual objects having specified length. | |
unsigned int | getLength () |
returns length set for this Factory | |
virtual | ~IndividualFactory () |
destructor | |
virtual genetiK::Individual * | generate ()=0 |
abstract generate function |
This class extends the generic genetiK::IndividualFactory to generate individuals to be used with Genetic Algorithms.
|
Creates a factory that creates Individual objects having specified length.
|
|
abstract generate function This function must be extended by sublcasses to generate appropriate individuals.
Implements genetiK::IndividualFactory. |
|
returns length set for this Factory
|