Research Article
RFID Indoor Positioning Based on AP Clustering and Improved Particle Swarm Algorithm
Algorithm 1
AP clustering algorithm: tag RSSI value clustering.
| Input: Input similarity matrix S,damping factor ; | | Output: f clustering centers and category members; | | 1: Set parameter p value; | | 2: Initialize ; | | 3: while (maxits500 or convits50) do | | 4: Calculation of A(i, k) and R(i, k); | | 5: ifR(k, k)+A(k, k)then | | 6: Select k points as clustering centers; | | 7: end if | | 8: Iterative update A(i, k) and R(i, k); | | 9: maxits=maxits+1; | | 10: convits=convits+1; | | 11: end while | | 12: Get f cluster centers and category members |
|