...
- There are a total of 174 targets for CBG out of which 131 remain after ignoring values that either have error in the range "error<1km" (i.e. the target and at least one landmark are probably in the same location) or contain "NaN".
- Improved trilateration by Farrah produced results for only 78 targets so far. Her method produced 7 NaN values which she ignored.
- Only 74 targets overlap between CBG trilateration and improved trilateration.
- If I don't ignore CBG's values that have estimate error "error<1km" then CBG trilateration performs 64/74 times better and improved trilateration performs only 10/74 times better.
- Even if I ignore values with error estimate "error<1km" then CBG performs 32/74 times better, improved trilateration performs 10/74 times better and the rest are unaccounted for.
Procedure to create CBG trilateration and multilateration comparison
First the target files need to be sorted according to the RTT in order to have better landmarks at the top of the file for every target. This creates no impact on multilateration but it helps trilateration achieve better results.
Second step is to generate a CSV file containing results for both trilateration and multilateration for all targets. The format is explained below. The format is also printed inside the script.
Code Block | ||||
---|---|---|---|---|
| ||||
Hostname, Target IP, Act. Lat, Act. Long, Est. Lat(trilat), Est. Long(trilat), Land1Hostname(trilat), Land1Lat(trilat), Land1Long(trilat), Land1Dist(trilat), Land2Hostname(trilat), Land2Lat(trilat), Land2Long(trilat), Land2Dist(trilat), Land3Hostname(trilat), Land3Lat(trilat), Land3Long(trilat), Land3Dist(trilat), Error (km)(trilat), Est. Lat(multlat), Est. Long(multlat), Land1Hostname(multlat), Land1Lat(multlat), Land1Long(multlat), Land1Dist(multlat), Land2Hostname(multlat), Land2Lat(multlat), Land2Long(multlat), Land2Dist(multlat), Land3Hostname(multlat), Land3Lat(multlat), Land3Long(multlat), Land3Dist(multlat), Land4Hostname(multlat), Land4Lat(multlat), Land4Long(multlat), Land4Dist(multlat), Land5Hostname(multlat), Land5Lat(multlat), Land5Long(multlat), Land5Dist(multlat), Error (km)(multilat)
|
For understandability view the same format below:
Code Block | ||||
---|---|---|---|---|
| ||||
#format required:
# requisite source (line, column)
# --------- ---------------------
# Hostname Node_info.txt (x, 2)
# IP @names
# Act. Lat target file (0, 1)
# Act. Long target file (0, 2)
#
# Est. Lat .trib/.tribe/.tribef file (2, 1)
# Est. Long .trib/.tribe/.tribef file (2, 2)
# L1 hostname Node_info.txt (x, 2)
# L1 Lat target file (1, 1)
# L1 Long target file (1, 2)
# L1 Rtt target file (1, 3)
# L2 hostname Node_info.txt (x, 2)
# L2 Lat target file (2, 1)
# L2 Long target file (2, 2)
# L2 Rtt target file (2, 3)
# L3 hostname Node_info.txt (x, 2)
# L3 Lat target file (3, 1)
# L3 Long target file (3, 2)
# L3 Rtt target file (3, 3)
# Error .trib/.tribe/.tribef file (1, 2)
#
# Est. Lat .cbgb file (2, 1)
# Est. Long .cbgb file (2, 2)
# L1 hostname Node_info.txt (x, 2)
# L1 Lat target file (1, 1)
# L1 Long target file (1, 2)
# L1 Rtt target file (1, 3)
# L2 hostname Node_info.txt (x, 2)
# L2 Lat target file (2, 1)
# L2 Long target file (2, 2)
# L2 Rtt target file (2, 3)
# L3 hostname Node_info.txt (x, 2)
# L3 Lat target file (3, 1)
# L3 Long target file (3, 2)
# L3 Rtt target file (3, 3)
# L4 hostname Node_info.txt (x, 2)
# L4 Lat target file (4, 1)
# L4 Long target file (4, 2)
# L4 Rtt target file (4, 3)
# L5 hostname Node_info.txt (x, 2)
# L5 Lat target file (5, 1)
# L5 Long target file (5, 2)
# L5 Rtt target file (5, 3)
# Error .cbgb file (1, 2)
#
# note: line index starts from 0, column index starts from 1
|
The scripts are listed below.
File | Description |
---|---|
These contain results for CBG multilateration via CBG bestline technique. | |
These contain target files. | |
These contain results for CBG trilateration via CBG bestline technique. | |
Script to generate outputDistance.csv file containing results for both multilateration and trilateration. | |
Sort target files based on RTT. | |
The output file generated by the CreateCSVDistance.pl script. The format of the output is shown above. |