faif
Static Public Member Functions | List of all members
faif::search::SelectionRanking< Space > Struct Template Reference

succession and selection policy - the n-th best individuals survive More...

#include <EvolutionaryAlgorithm.hpp>

Collaboration diagram for faif::search::SelectionRanking< Space >:
Collaboration graph

Static Public Member Functions

static Space::Population & selection (typename Space::Population &population, int size)
 sort (partial) the population and removes the worst elements. Population is returned having n elements. The function 'Space::fitness' is used. More...
 

Detailed Description

template<typename Space>
struct faif::search::SelectionRanking< Space >

succession and selection policy - the n-th best individuals survive

Member Function Documentation

template<typename Space >
static Space::Population& faif::search::SelectionRanking< Space >::selection ( typename Space::Population &  population,
int  size 
)
inlinestatic

sort (partial) the population and removes the worst elements. Population is returned having n elements. The function 'Space::fitness' is used.


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