Package com.here.platform.location.integration.optimizedmap.mapmatching
You can use PathMatchers to create
some predefined HMMPathMatchers.
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.Transitions that contain the Vertices between two consecutive OnRoad MatchResults.
You can use PathMatchers.newHMMPathMatcher to define your own HMMPathMatcher. To help you with this task, this
package provides the following components:
EmissionProbabilityStrategiesfor predefinedEmissionProbabilityStrategiesTransitionProbabilityStrategiesfor predefinedTransitionProbabilityStrategies
See also:
PathMatchersfor more predefinedPathMatchersCandidateGeneratorsfor predefinedCandidateGeneratorsMatchedPathfor more information about the return type of aPathMatcher
-
Classes