#include <selection.h>

Public Member Functions | |
| tournament_selection (int t_size_, RandGen &_rng) | |
| template<typename In, typename Out> | |
| void | operator() (In from, In to, Out dst, int n_select) const |
Public Attributes | |
| int | t_size |
| RandGen & | rng |
Definition at line 36 of file selection.h.
| opencog::tournament_selection::tournament_selection | ( | int | t_size_, | |
| RandGen & | _rng | |||
| ) | [inline] |
Definition at line 37 of file selection.h.
| void opencog::tournament_selection::operator() | ( | In | from, | |
| In | to, | |||
| Out | dst, | |||
| int | n_select | |||
| ) | const [inline] |
Definition at line 44 of file selection.h.
References d(), dorepeat, opencog::RandGen::randint(), rng, and t_size.
Definition at line 40 of file selection.h.
Definition at line 41 of file selection.h.
1.5.6