roulette wheel selection
roulette wheel selection function, input is an array of probabilities or any positive number array, output is an index of the selection.
Function runs fast, any improvements on the speed are welcomed
Citar como
Rami AbouSleiman (2024). roulette wheel selection (https://www.mathworks.com/matlabcentral/fileexchange/45735-roulette-wheel-selection), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Agradecimientos
Inspiración para: Roulette Wheel Selection with Overall Iteration Result, RouletteWheelSelection.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.4.0.0 | figure added
|
||
1.3.0.0 | Fixed the chances of outputting an empty matrix |
||
1.2.0.0 | Typo |
||
1.1.0.0 | typo in the description |
||
1.0.0.0 |