#dynamic-programming #viterbi #a-star #search #path

tetengo_lattice

A library for Viterbi search and A* algorithm implementation

13 stable releases

Uses new Rust 2024

1.5.0 Jul 6, 2025
1.4.1 Apr 29, 2025
1.3.2 Jan 5, 2025
1.3.0 Sep 16, 2024
1.1.0 Jul 28, 2024

#703 in Algorithms

MIT license

155KB
3.5K SLoC

tetengo Lattice 1.5.0

A Viterbi search library.

The Viterbi search is a dynamic programming algorithm. It finds the most likely path in a lattice consisting of observed event nodes.

This library also provides the A* search algorithm for the lattice created by the Viterbi search.

How to Use

Execute the cargo add command to add the "tetengo_lattice" library to your cargo package.

An entry for "tetengo_lattice" will be added to the "dependencies" section of Cargo.toml.

  • On Windows:
    • X:>cd \path\to\your\package
      X:>cargo add tetengo_lattice
      
  • On Linux:
    • $ cd /path/to/your/package
      $ cargo add tetengo_lattice
      

See the cargo document for details.

Source Files

The source files for this library are available on GitHub.


Copyright (C) 2023-2025 kaoru https://www.tetengo.org/

This product is released under the MIT license. See the LICENSE file for details.

Dependencies

~2MB
~37K SLoC