fixed minor typos

This commit is contained in:
Mortada Mehyar 2016-02-18 23:05:11 -05:00
parent 47d56676f1
commit aae02cd1be
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ struct NormalDistribution
{ {
} }
// FIXME implement log-probability version since its faster // FIXME implement log-probability version since it's faster
double density_function(const double val) const double density_function(const double val) const
{ {
using namespace boost::math::constants; using namespace boost::math::constants;
@ -43,7 +43,7 @@ struct LaplaceDistribution
{ {
} }
// FIXME implement log-probability version since its faster // FIXME implement log-probability version since it's faster
double density_function(const double val) const double density_function(const double val) const
{ {
const double x = std::abs(val - location); const double x = std::abs(val - location);

View File

@ -46,7 +46,7 @@ template <class DataFacadeT> class MapMatchingPlugin : public BasePlugin
MapMatchingPlugin(DataFacadeT *facade, const int max_locations_map_matching) MapMatchingPlugin(DataFacadeT *facade, const int max_locations_map_matching)
: descriptor_string("match"), facade(facade), : descriptor_string("match"), facade(facade),
max_locations_map_matching(max_locations_map_matching), max_locations_map_matching(max_locations_map_matching),
// the values where derived from fitting a laplace distribution // the values were derived from fitting a laplace distribution
// to the values of manually classified traces // to the values of manually classified traces
classifier(map_matching::LaplaceDistribution(0.005986, 0.016646), classifier(map_matching::LaplaceDistribution(0.005986, 0.016646),
map_matching::LaplaceDistribution(0.054385, 0.458432), map_matching::LaplaceDistribution(0.054385, 0.458432),