roulette wheel selection

バージョン 1.4.0.0 (794 Bytes) 作成者: Rami AbouSleiman
roulette wheel selection, input is an array of probabilities, output is an index
ダウンロード: 2.9K
更新 2015/12/15

ライセンスの表示

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

引用

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

MATLAB リリースの互換性
作成: R2010b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCard games についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
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