View full-text article in PMC Entropy (Basel). 2021 Oct 27;23(11):1413. doi: 10.3390/e23111413 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2021 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 3: USBA-MC Algorithm 1:Input:B0,B0D,B0U 2:(tn,CU,tn,CD,tdn,C,En,CM)←MC(sL,sG) 3:S0←GetS(B0U,B0D,B0) 4:forτ∈{1,…,T}do 5: (BτU,BτD,Bτ)←GetB(Sτ−1) 6: (tn,CU,tn,CD,tdn,C,En,Ccom)←MC(sL,sG) 7: Sτ←GetS(BτU,BτD,Bτ) 8: if Sτ==Sτ−1 and (BτU,BτD,Bτ)==(Bτ−1U,Bτ−1D,Bτ−1) then 9: break 10: end if 11:end for