roulette wheel selection

roulette wheel selection, input is an array of probabilities, output is an index
2,9K download
Aggiornato 15 dic 2015

Visualizza la licenza

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

Cita come

Rami AbouSleiman (2024). roulette wheel selection (https://www.mathworks.com/matlabcentral/fileexchange/45735-roulette-wheel-selection), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2010b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Card games in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.4.0.0

figure added
Fixed the chances of outputting an empty matrix for when the inputs are between 0 and 1

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