mlr-org / miesmuschel

Flexible Mixed Integer Evolutionary Strategies
Other
15 stars 4 forks source link

sequential w/ SelectorRandom instead of shuffling in generate_offspring #48

Closed mb706 closed 1 year ago

mb706 commented 3 years ago

If for some reason the user doesn't want to shuffle there would be the idea of having the raw selector; shuffling would use SelectorSequential(list(SelectorXxx, SelectorRandom)).

The situation is a bit annoying because this is probably the only reason to have a SelectorSequential at all. Also the number of selected individuals is provided dynamically, so to make SelectorSequential useful at all there would need to be a way to select x * n individuals in step 1, followed by n individuals in step 2.