Need how to implement the adaptive parameter tuning feature of WSO in MATLAB, specifically the morale (Wi) update

4 ビュー (過去 30 日間)
I need to implement the adaptive parameter tuning feature of WSO in MATLAB, specifically the morale (Wi) update

採用された回答

recent works
recent works 2023 年 12 月 31 日
編集済み: Walter Roberson 2023 年 12 月 31 日
I think war strategy optimization you are working
Use vectorized operations and logical indexing to update morale values for all soldiers simultaneously
Wi = Wi0 * exp(-alpha * (1:max_iter)./max_iter);
Wi = Wi(soldier_iter);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by