com.here.platform.location.integration.optimizedmap.mapmatching
PathMatchers
Companion object PathMatchers
class PathMatchers extends AnyRef
Creates a PathMatchers from an Optimized Map for Location Library.
- Alphabetic
- By Inheritance
- PathMatchers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new PathMatchers(optimizedMap: OptimizedMapLayers)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
carPathMatcherWithTransitions[O](implicit arg0: GeoCoordinateOperations[O]): PathMatcher[O, Vertex, Seq[Vertex]]
Creates an HMM path matcher that only matches to vertices that are accessible by cars, and that is suitable for sparse probes.
Creates an HMM path matcher that only matches to vertices that are accessible by cars, and that is suitable for sparse probes. However, if the observations are not close enough, they will be considered unreachable.
Besides a sequence of MatchResults, this path matcher returns a list of transitions. A transition is a sequence of
Vertex
objects that represents a path betweenOnRoad
match results associated to two successive observations. A transition does not contain the two vertices referenced by the correspondingOnRoad
match results.Consider the following example:
O1 O2 | | v v --V1--> --V2--> --V3-->
The observation O1 is matched to vertex V1, and O2 to V3. Although V1 and V3 are not directly connected, the path matcher returns a transition from O1 to O2 that contains the intermediate vertices, V2 in this case.
Internally, this method creates a PathMatcherWithFilter that uses a DistanceFilter and a ProjectingInterpolator to improve match results when consecutive points are close to one another.
See also PathMatcherWithFilter for more information about filtering and interpolation.
- O
The type of data accepted by the path matcher
- Note
On rare occasions, for example with very sparse probes, the returned path matcher might calculate transitions that involve forbidden manoeuvres. This is a known limitation and will be fixed in a later version.
-
def
carPathMatcherWithoutTransitions[O](implicit arg0: GeoCoordinateOperations[O]): PathMatcher[O, Vertex, NoTransition]
Creates an HMM path matcher that only matches to vertices that are accessible by cars.
Creates an HMM path matcher that only matches to vertices that are accessible by cars.
The path matcher uses
TransitionProbabilityStrategies.directDistance
to calculate the transition probabilities of the Hidden Markov Model. Therefore, this path matcher is not recommended for sparse input observations. For sparse input observations, consider using a path matcher created byPathMatchers.carPathMatcherWithTransitions
instead.- O
The type of data accepted by the path matcher
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unrestrictedPathMatcherWithTransitions[O](implicit arg0: GeoCoordinateOperations[O]): PathMatcher[O, Vertex, Seq[Vertex]]
Creates an HMM path matcher that uses default parameters and doesn't take any restriction into consideration.
Creates an HMM path matcher that uses default parameters and doesn't take any restriction into consideration. It is suitable for sparse probes. However, if the observations are not close enough, they will be considered unreachable.
Besides a sequence of MatchResults, this path matcher returns a list of transitions. A transition is a sequence of
Vertex
objects that represents a path betweenOnRoad
match results associated to two successive observations. A transition does not contain the two vertices referenced by the correspondingOnRoad
match results.Consider the following example:
O1 O2 | | v v --V1--> --V2--> --V3-->
The observation O1 is matched to vertex V1, and O2 to V3. Although V1 and V3 are not directly connected, the path matcher returns a transition from O1 to O2 that contains the intermediate vertices, V2 in this case. * Internally, this method creates a PathMatcherWithFilter that uses a DistanceFilter and a ProjectingInterpolator to improve match results when consecutive points are close to one another.
See also PathMatcherWithFilter for more information about filtering and interpolation.
-
def
unrestrictedPathMatcherWithoutTransitions[O](implicit arg0: GeoCoordinateOperations[O]): PathMatcher[O, Vertex, NoTransition]
Creates an HMM path matcher that uses default parameters and doesn't take any restriction into consideration.
Creates an HMM path matcher that uses default parameters and doesn't take any restriction into consideration.
The path matcher uses
TransitionProbabilityStrategies.directDistance
to calculate the transition probabilities of the Hidden Markov Model. Therefore, this path matcher is not recommended for sparse input observations. For sparse input observations, consider using a path matcher created byPathMatchers.unrestrictedPathMatcherWithTransitions
instead. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()