Within the empirical model, most positioning systems use triangulation or fingerprinting algorithms to calculate the
position of the MD.
In the case of the Fingerprint algorithm, first a radio map is designed containing RSSI measurements for each visible AP in the coverage area of the MD.
All the values obtained are stored in a database.
Then, the location can be calculated by obtaining a strengths pattern vector and applying an algorithm that allows
matching this vector with the values stored in the database [19].
Calculation algorithms correlate the values obtained between the location information and the Fingerprint database
to determine the relative position of the MD.
There are two classes of algorithms: probabilistic and deterministic.
The most widely known deterministic method is that of the “nearest neighbor.”