From 17c3c1d66ab14caa9507404265de7a8bcf4032cb Mon Sep 17 00:00:00 2001 From: Mortada Mehyar Date: Mon, 25 Jan 2016 15:17:44 -0800 Subject: [PATCH] improve comments for gps_precision --- include/engine/plugins/match.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/engine/plugins/match.hpp b/include/engine/plugins/match.hpp index bc831cbc3..713245376 100644 --- a/include/engine/plugins/match.hpp +++ b/include/engine/plugins/match.hpp @@ -85,8 +85,9 @@ template class MapMatchingPlugin : public BasePlugin { CandidateLists candidates_lists; - // assuming the gps_precision is the standart-diviation of normal distribution that models - // GPS noise (in this model) this should give us the correct candidate with >0.95 + // assuming gps_precision is the standard deviation of a normal distribution that + // models GPS noise (in this model), this should give us the correct search radius + // with > 99% confidence double query_radius = 3 * gps_precision; double last_distance = util::coordinate_calculation::haversineDistance(input_coords[0], input_coords[1]);