View full-text article in PMC Sensors (Basel). 2025 Dec 11;25(24):7521. doi: 10.3390/s25247521 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2025 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: Pseudocode for the RA_Scheduler. Input: Q[BSi], user tuple 〈UEj,Pj,γj,CQIj,RBijreq〉, current RBiavail Output: RAdecision[BSi], updated RBiavail 1:RBialloc←0; RAdecision[BSi]←∅ 2: QuRLLC←{j∈Q[BSi]∣Pj=PuRLLC} 3: QeMBB←{j∈Q[BSi]∣Pj=PeMBB} 4: QmMTC←{j∈Q[BSi]∣Pj=PmMTC} 5:sort QeMBB by CQIj desc ▹ Serve eMBB with highest CQI first 6:for all j∈[QuRLLC∥QeMBB∥QmMTC] do 7: if RBiavail≥RBijreq then 8: RAdecision[BSi][j]←RBijreq 9: RBiavail←RBiavail−RBijreq 10: end if 11: end for 12:return RAdecision[BSi],RBiavail