View full-text article in PMC Sensors (Basel). 2021 Apr 12;21(8):2706. doi: 10.3390/s21082706 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 AP set decision algorithm for maximizing the performance diversity combining 1:input:[a1,a2,⋯,aNs] 2:filterAPswithavaluelowerthanthethresholdSINRasfollows: 3:[a1,a2,⋯,aNs]→[a1,a2,⋯,aNs*] 4:sortthefilteredAPsindescendingorderbasedontheSINRvalue 5:initializeparameters;A1←[a1],A2←[a1,a2],i←2,andcalculatePs(A1) 6:while i≤Ns* do 7: calculatePs(A2) 8: if Ps(A1)<Ps(A2) then 9: A1←A2 10: A2←[a1,a2,⋯,ai+1] 11: i←i+1 12: else 13: A*←A1 14: end if 15:end while 16:output:A*