23 using Class = br::Sel::Selection<PT>;
26 py::class_<Class> sel(m, name.data() );
30 [](
string type,
bool survival){
Class s(type, survival);
return s; })
33 std::vector<br::Pop::Individual<PT>>& individuals,
37 auto pop = br::Pop::Population<PT>();
39 pop.init(individuals, params);
41 vector<br::Pop::Individual<PT>>
pool;
58 std::vector<br::Pop::Individual<PT>>& individuals,
62 auto pop = br::Pop::Population<PT>();
64 pop.init(individuals, params);
66 vector<br::Pop::Individual<PT>>
pool;
81 std::vector<br::Pop::Individual<PT>>& individuals,
84 auto pop = br::Pop::Population<PT>();
86 pop.init(individuals, params);
89 vector<br::Pop::Individual<PT>>
pool;