class HMMPathMatcher[O, V, T] extends PathMatcher[O, V, T]

An implementation of PathMatcher that creates a Hidden Markov Model (HMM) and calculates the most likely path using the Viterbi algorithm.

An instance of HMMPathMatcher delegates the creation of the following HMM components:

  • The candidateGenerator object creates candidate states.
    Candidate states are possible MatchResults for a given observation of type O. Typically, a candidate state is the projection of an observation onto a nearby vertex of type V.
  • The emissionProbabilityStrategy object calculates the emission probabilities.
    The emission probability represents the probability that an observation is emitted supposing that the system is in a given candidate state.
  • The transitionProbabilityStrategy object calculates the transition probabilities. Depending on the implementation, this object may return additional information of type T about the transitions.
    Given two successive observations O1 and O2, a candidate state C1 generated for O1 and a candidate state C2 generated for O2, the transition probability between C1 and C2 represents the probability of the system going from state C1 to state C2.

See also Hidden Markov Map Matching Through Noise and Sparseness.

Linear Supertypes
PathMatcher[O, V, T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HMMPathMatcher
  2. PathMatcher
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HMMPathMatcher(candidateGenerator: CandidateGenerator[O, V], emissionProbabilityStrategy: EmissionProbabilityStrategy[O, V], transitionProbabilityStrategy: TransitionProbabilityStrategy[O, V, T])

    candidateGenerator

    An object that generates candidate states for a particular observation

    emissionProbabilityStrategy

    An object that calculates the probability that an observation is emitted supposing that the system is in a given candidate state

    transitionProbabilityStrategy

    An object that calculates the probability of going from one candidate state generated for an observation at time t to another candidate state generated for an observation at time t + 1. This object may also return additional data of type T about the transition

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def matchPath(observations: Seq[O]): MatchedPath[V, T]

    Given a sequence of observations, returns a matched path.

    Given a sequence of observations, returns a matched path.

    Definition Classes
    HMMPathMatcherPathMatcher
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from PathMatcher[O, V, T]

Inherited from AnyRef

Inherited from Any

Ungrouped