Roulette Wheel Selection with Overall Iteration Result

版本 1.0.0 (2.2 KB) 作者: Muhammad Ulil Azmi
roulette wheel selection, first input is an array of probabilities, second input is number of iteration, output: an array of selection count
44.0 次下载
更新时间 2020/11/12

查看许可证

This file is a Matlab program containing roulette wheel selection used in desired amount of iteration program.

How to use:

1. Prepare all the files and program needed.

2. Extract zip file which contain:
a. RouletteWheelSelection.m from:
Rami AbouSleiman (2020). roulette wheel selection (https://www.mathworks.com/matlabcentral/fileexchange/45735-roulette-wheel-selection), MATLAB Central File Exchange. Retrieved November 12, 2020.
b. RouletteWheelSelectionWithIteration.m

3. Open "RouletteWheelSelectionWithIteration.m"

4. Run "RouletteWheelSelectionWithIteration.m"

5. Insert first input (an array of probabilities from respective index).

6. Insert second input (number of iteration which is any positive integer).

7. Wait for the result.

8. Output is an array with index indicating each element of roulette and the value indicating how many times the element was selected.

Work used
Rami AbouSleiman (2020). roulette wheel selection (https://www.mathworks.com/matlabcentral/fileexchange/45735-roulette-wheel-selection), MATLAB Central File Exchange. Retrieved November 12, 2020.

引用格式

Muhammad Ulil Azmi (2024). Roulette Wheel Selection with Overall Iteration Result (https://www.mathworks.com/matlabcentral/fileexchange/82688-roulette-wheel-selection-with-overall-iteration-result), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
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!
版本 已发布 发行说明
1.0.0