Vita
Public Member Functions | List of all members
vita::recombination::base< T > Class Template Reference

This class defines the program skeleton of a standard genetic programming crossover plus mutation operation. More...

#include <evolution_recombination.h>

Inherits vita::recombination::strategy< T >.

Public Member Functions

strategy< T >::offspring_t run (const typename strategy< T >::parents_t &)
 
- Public Member Functions inherited from vita::recombination::strategy< T >
 strategy (const population< T > &, evaluator< T > &, summary< T > *)
 

Additional Inherited Members

- Public Types inherited from vita::recombination::strategy< T >
using offspring_t = small_vector< T, 1 >
 
using parents_t = typename selection::strategy< T >::parents_t
 
- Protected Attributes inherited from vita::recombination::strategy< T >
evaluator< T > & eva_
 
const population< T > & pop_
 
summary< T > * stats_
 

Detailed Description

template<class T>
class vita::recombination::base< T >

This class defines the program skeleton of a standard genetic programming crossover plus mutation operation.

It's a template method design pattern: one or more of the algorithm steps can be overriden by subclasses to allow differing behaviours while ensuring that the overarching algorithm is still followed.

Definition at line 69 of file evolution_recombination.h.


The documentation for this class was generated from the following file: