A Quantitative Comparison of Distance Measures for Trajectories
[usage]: python example.py *.plt, *.plt
[file]: example.py:This file is basic executable file k_anonymity.py:k_anonymity source code
The anonymize result is reflected in *_k.txt file.
The result report is automatically generated.
Example:
ED Distance: 284526.0479103641 calcTime : 0.15625
DTW Distance: 252013.84772343005 calcTime : 1.46875
ERP Distance: 363224.31981925294 calcTime : 0.640625
EDR Distance: 0.26048565121412803 calcTime : 1.0625
LCSS Distance: 0.9752066115702479 calcTime : 1.09375
SSPD Distance: 129.88435121994073 calcTime : 0.625
OWD Distance: 0.20319155631746957 calcTime : 0.0
Frechet Distance: 393.339285767891 calcTime : 35.171875