Package com.here.platform.location.integration.optimizedmap.mapmatching
You can use PathMatchers
to create
some predefined HMMPathMatcher
s.
For example, if you are interested in a path traveled by a car, you can use PathMatchers.carPathMatcher
. For each input probe point, the carPathMatcher
returns a MatchResult
. If the
matching is successful, the returned MatchResult
is OnRoad
. An OnRoad
MatchResult
contains the matched Vertex
and the closest point to the probe point on
this Vertex
.
If the input probes are sparse (typically, less than one probe per second), you should
consider using a `PathMatchers.carPathMatcherWithTransitions`. This HMMPathMatcher
computes MatchedPath.Transition
s that contain the Vertices
between two consecutive OnRoad
MatchResult
s.
You can use PathMatchers.newHMMPathMatcher
to define your own HMMPathMatcher
. To help you with this task, this
package provides the following components:
EmissionProbabilityStrategies
for predefinedEmissionProbabilityStrateg
iesTransitionProbabilityStrategies
for predefinedTransitionProbabilityStrateg
ies
See also:
PathMatchers
for more predefinedPathMatcher
sCandidateGenerators
for predefinedCandidateGenerator
sMatchedPath
for more information about the return type of aPathMatcher
-
Classes