Skip to main content
. 2024 Apr 9;24(8):2399. doi: 10.3390/s24082399
Algorithm 1 Simple heuristic algorithm for Lyapunov drift-plus-penalty-based cooperative uplink scheduling
  •  1:

    Initialize the trade-off parameter V and the maximum iteration number Nmax.

  •  2:

    Aggregate queue status and channel state information.

  •  3:

    for i=1,2,,Nmax do

  •  4:

          // Lyapunov drift-plus-penalty calculation

  •  5:

          Randomly select a subset of stations and associated APs.

  •  6:

          Calculate Pslout=P(γsl,A^sl<γth) in (8).

  •  7:

          Calculate E{θsl(t)}=E{αsl(t)Pulsuccβsl(t)},  slS in (7).

  •  8:

          Calculate the expected delay dslmax for slS for cooperative scheduling

  •  9:

          Store the Lyapunov drift-plus-penalty value by calculating

                 U+VslSdslmax+slSBsl(t)θsl(t).

  • 10:

          Store the scheduling decision.

  • 11:

    end for

  • 12:

    Select the solution with the minimum Lyapunov drift-plus-penalty value.