Skip to main content
. 2022 Mar 17;22(6):2328. doi: 10.3390/s22062328
Algorithm 4 The two-layer hybrid MRA training algorithm with the pricing strategy.
  • (Input)λi,μi,i, ⋯;

  • for episode = 1 to M do

  •     for time t=1 to N do

  •       ⋯

  •       Observe next state S;

  •       Obtain νPid,i, by using (50)

  •       for each link i do

  •          for iteration k=1 to K do

  •            Update Pi[k]by using (47) withνi=νPid,i;

  •            Update θi[k]by using (48) withνi=νPid,i;

  •            ⋯

  •          end for

  •       end for

  •       ⋯

  •     end for

  • end for