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 2: User Selection Algorithm GetS(BU,BD,B) 1:Input:N1,N2 2:forn∈N1do 3: if tdn,C+tn,CU+tnP+td,C≤Tround, and En,CM+EnP≤γnE then 4: S1←n 5: end if 6:end for 7:forn∈N2do 8: if tn,CD+tn,CU+tnP≤Tround, and En,CM+EnP≤γnE then 9: S2←n 10: end if 11:end for