Map Matching
Main Page
Related Pages
Classes
Files
File List
File Members
emissionprobability.h
Go to the documentation of this file.
1
#ifndef EMISSIONPROBABILITY_H
2
#define EMISSIONPROBABILITY_H
3
4
class
EmissionProbability
{
5
public
:
6
EmissionProbability
(
long
roadId
,
double
distance
)
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
;
21
float
m_probability
;
22
};
23
24
#endif // EMISSIONPROBABILITY_H
EmissionProbability::roadId
long roadId() const
Definition:
emissionprobability.h:15
EmissionProbability::probability
float probability() const
Definition:
emissionprobability.h:17
EmissionProbability::updateProbability
void updateProbability(double distanceAll)
Definition:
emissionprobability.cpp:3
EmissionProbability::distance
double distance() const
Definition:
emissionprobability.h:16
EmissionProbability::m_roadId
long m_roadId
Definition:
emissionprobability.h:19
EmissionProbability::m_distance
double m_distance
Definition:
emissionprobability.h:20
EmissionProbability
Definition:
emissionprobability.h:4
EmissionProbability::EmissionProbability
EmissionProbability(long roadId, double distance)
Definition:
emissionprobability.h:6
EmissionProbability::m_probability
float m_probability
Definition:
emissionprobability.h:21
emissionprobability.h
Generated on Sat Dec 3 2016 18:38:42 for Map Matching by
1.8.11