Vita
|
Pick a set of random individuals. More...
#include <evolution_selection.h>
Inherits vita::selection::strategy< T >.
Public Member Functions | |
strategy< T >::parents_t | run () |
Public Member Functions inherited from vita::selection::strategy< T > | |
strategy (const population< T > &, evaluator< T > &, const summary< T > &) | |
Additional Inherited Members | |
Public Types inherited from vita::selection::strategy< T > | |
using | parents_t = std::vector< typename population< T >::coord > |
Protected Attributes inherited from vita::selection::strategy< T > | |
evaluator< T > & | eva_ |
const population< T > & | pop_ |
const summary< T > & | sum_ |
Pick a set of random individuals.
Very simple selection strategy: pick a set of random individuals. The environment::tournamnet_size property controls the cardinality of the set.
Definition at line 121 of file evolution_selection.h.