Skip to main content
. 2020 Nov 23;20(22):6692. doi: 10.3390/s20226692
Algorithm 1 RRH selection algorithm
  • Input: RRHADV

  • Output: Least loaded RRH

  • while Battery lifetime is not equal to zero do

  •     Receive RRHADV from a RRH

  •     Update corresponding entry in RRHTable

  •     Calculate the RRH load:

  •                                                        Lc[t]=Ξv[t]QL+(1Ξ)Lc[t1]
  •     BestRRH ← RRH with the minimum load

  • end while