RouletteWheelSelection.m
版本 1.1.0.0 (692 字节) 作者:
Jonathan O'Keeffe
Debugged version of RouletteWheelSelection
input an array of probabilities or fitness scores (i.e. best has highest score and chance of being picked). output is an index selected according to a normalised distribution over the indices. i.e. Roulette Wheel Selection in evolutionary computing.
引用格式
Jonathan O'Keeffe (2024). RouletteWheelSelection.m (https://www.mathworks.com/matlabcentral/fileexchange/46734-roulettewheelselection-m), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux标签
致谢
参考作品: roulette wheel selection
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!