genetiK::IndividualFactory Class Reference
[Common GenetiK framework]

IndividualFactory: generic Individual Factory. More...

#include <IndividualFactory.h>

Inheritance diagram for genetiK::IndividualFactory:

Inheritance graph
List of all members.

Public Member Functions

 IndividualFactory (void)
 default void constructor
virtual ~IndividualFactory (void)
 default destructor
virtual Individualgenerate ()=0
 abstract generate function

Detailed Description

IndividualFactory: generic Individual Factory.

This abstract class is used to generate the individual to be used in a specific evolutionary algorithm. When extending the Individual class, this class should be extended as well, to give EvolutionaryAlgorithm to create individuals of the appropriate type.

See also:

Constructor & Destructor Documentation

genetiK::IndividualFactory::IndividualFactory void   ) 

default void constructor

Does nothing (class is abstract)

genetiK::IndividualFactory::~IndividualFactory void   )  [virtual]

default destructor

Does nothing (class is abstract)

Reimplemented in genetiK::ga::IndividualFactory, genetiK::gp::IndividualFactory, and genetiK::gp::st::IndividualFactory.

Member Function Documentation

virtual Individual* genetiK::IndividualFactory::generate  )  [pure virtual]

abstract generate function

This function must be extended by sublcasses to generate appropriate individuals.

a new Individual

Implemented in genetiK::ga::IndividualFactory, genetiK::gp::IndividualFactory, and genetiK::gp::st::IndividualFactory.

The documentation for this class was generated from the following files:
Generated on Thu Feb 23 12:21:58 2006 for GenetiK by  doxygen 1.4.6