Skip to content
This repository was archived by the owner on Mar 1, 2021. It is now read-only.
This repository was archived by the owner on Mar 1, 2021. It is now read-only.

refactor to use hmm-lib 1.0.0 #61

Closed

Description

@stefanholder

I just published a pre-release (snapshot) of hmm-lib 1.0.0.

Using this new version in Graphhopper map-matching would bring several improvements:

  • The API was redesigned to allow calling the Viterbi algorithm iteratively. This allows using single-source multi-target routing, which should result in a speed-up. Moreover, if an HMM break occurs, the GPS trace can be split at the break and both sub traces can be matched separately.
  • The paths between matched positions (the entire matched route) can now be retrieved after computing the most likely sequence using transition descriptors. Hence, there is no need anymore to store all paths between subsequent candidates.
  • Memory footprint is reduced from O(t*n²) to O(t) for typical GPS traces, where t is the number of time steps and n is the number of candidates per time step.

The project offline-map-matching, branch-1.0.0 is now also using the hmm-lib 1.0.0-SNAPSHOT. In there, OfflineMapMatcherTest.java provides an example how to use the new hmm-lib API, which can be used as a template for Graphhopper map-matching.

Feedback is welcome!

Activity

  1. changed the title [-]hmm-lib 1.0.0[/-] [+]refactor to use hmm-lib 1.0.0[/+] on Aug 5, 2016
  2. added this to the 0.8 milestone on Sep 16, 2016
  3. karussell commented on Oct 10, 2016

    @karussell
    Member

    Fixed via #66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions