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
 - Protected
 
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
Vertexobjects that represents a path betweenOnRoadmatch results associated to two successive observations. A transition does not contain the two vertices referenced by the correspondingOnRoadmatch 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.directDistanceto 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.carPathMatcherWithTransitionsinstead.- O
 The type of data accepted by the path matcher
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -    def hashCode(): Int
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @IntrinsicCandidate() @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
 - @IntrinsicCandidate() @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @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
Vertexobjects that represents a path betweenOnRoadmatch results associated to two successive observations. A transition does not contain the two vertices referenced by the correspondingOnRoadmatch 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.directDistanceto 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.unrestrictedPathMatcherWithTransitionsinstead. -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 
Deprecated Value Members
-    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable]) @Deprecated
 - Deprecated
 (Since version 9)