Skip to main content
. 2020 Dec 21;20(24):7336. doi: 10.3390/s20247336
Algorithm 1: Best response dynamics-based algorithm.
  1: Calculate the optimal medium access probability PM*.
  2: Inform the PM* to IoT devices
  3: Initialize the policies πi for i.
  4: while Stationary policies of all IoT devices converge
  5: for All IoT devices i do
  6: Transmit the λi to other IoT devices with PM*
  7: Calculate the probability λi=1ii1λi
  8: Solve the LP problem to get the stationary best response policy πi*
  9: end for
   10: end while