Skip to main content
. 2015 Mar 4;15(3):5311–5330. doi: 10.3390/s150305311
Algorithm 1. Pseudo-code of the WQS algorithm based on miscellaneous SOPs
Requires: 1. Fingerprint database Fpdb = (P<x,y,soplist,w>1, P<x,y,soplist,w>2,,P<x,y,soplist,w>n);
    2. Fingerprint information at unknown position Fpx = (sop1,sop2,,sopn);
Setting: δ1,δ2δm (thresholds) for each type of SOP
for each sop measurement in Fingerprint Fpx
   if abs(sopisoplistj)< δ1
   wj= wj+1 (weight increased only when the sop measurement follows the weight δ-selecting criteria )
   end for
end for
return Pmean=(wm1+wm2)*P1+(wm2+wm3)*P2+(wm1+wm3)*P32*(wm1+wm2+wm3),
which is the mean position of the three positions with the maximum weight wmax