Map Matching
emissionprobability.h
Go to the documentation of this file.
1 #ifndef EMISSIONPROBABILITY_H
2 #define EMISSIONPROBABILITY_H
3 
5 public:
7  : m_roadId(roadId)
8  , m_distance(distance)
9  , m_probability(0.0)
10  {
11  }
12 
13  void updateProbability(double distanceAll);
14 
15  long roadId() const { return m_roadId; }
16  double distance() const { return m_distance; }
17  float probability() const { return m_probability; }
18 protected:
19  long m_roadId;
20  double m_distance;
22 };
23 
24 #endif // EMISSIONPROBABILITY_H
float probability() const
void updateProbability(double distanceAll)
double distance() const
EmissionProbability(long roadId, double distance)