commit
d0644bace9
@ -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
|
||||
{
|
||||
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
|
||||
{
|
||||
const double x = std::abs(val - location);
|
||||
|
@ -46,7 +46,7 @@ template <class DataFacadeT> class MapMatchingPlugin : public BasePlugin
|
||||
MapMatchingPlugin(DataFacadeT *facade, const int max_locations_map_matching)
|
||||
: descriptor_string("match"), facade(facade),
|
||||
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
|
||||
classifier(map_matching::LaplaceDistribution(0.005986, 0.016646),
|
||||
map_matching::LaplaceDistribution(0.054385, 0.458432),
|
||||
|
Loading…
Reference in New Issue
Block a user