View full-text article in PMC Biomimetics (Basel). 2022 Aug 29;7(3):124. doi: 10.3390/biomimetics7030124 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 BAS Algorithm. Objective Function: F(X,O) DBAS Initialization: η=0.99 d=0.9 τ=0.9 Portfolio Initialization: T=iter D=dim X=randn(1,D) O=[Mn,Cn]Mn: Mean Cn: Covariance Fbest=F(X,P) Xbest=X Fori=1:T b=randn(1,D) Compute Xr and Xl using (29) and (30) Compute Fr and Fl suing (31) and (32) Compute X using (34) F=F(X,O) IfFmin<Fbest: Fbest=Fmax Xbest=X Else: X=Xbest End If d=ηd+0.01 τ=ητ End For