Skip to main content
. 2022 Nov 29;22(23):9304. doi: 10.3390/s22239304
Algorithm 2 Joint allocation mechanism of bandwidth and power.
  • Input: 

    Illuminated cells in current time slot: {N}, demand of illuminated cells: Dt={DtiiN}, onboard available resources: Btot, Ptot, sub-bands: {β1,β2,,βm}, constraint between power and band: {Pthiβm}

  • Output: 

    Bi and Pi for each illuminated cell

  • 1:

    Perform interference clustering according to Section 4.2.1 and the number of cells in each cluster is n;

  • 2:

    ifn>1then;

  • 3:

        Population initialize

  • 4:

        for t=1 to iteration time do

  • 5:

            Calculate fitness according to Section 4.2.2 (A)

  • 6:

            Record elite with best fitness

  • 7:

            Perform selection, coding, crossover, mutation and decoding with optimal control considering {Pthiβm};

  • 8:

            Replace the least fit individuals with elite;

  • 9:

        end for

  • 10:

        Calculate Ci by Equation (11);

  • 11:

    else

  • 12:

       Select Bi={βa,,βb} and Pi=min{Pthiβm,m(a,b)} according to Section 4.2.2 (B) based on Constraint Map shown as Figure 5;

  • 13:

    end if

  • 14:

    Recalculate Ci considering the CCI of all cells according to Section 3.4.1;

  • 15:

    return allocation scheme Bi, Pi and capacity Ci;