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 (2026). RouletteWheelSelection.m (https://ww2.mathworks.cn/matlabcentral/fileexchange/46734-roulettewheelselection-m), MATLAB Central File Exchange. 检索时间: .
