new ViterbiSearcher(connection_costs)
ViterbiSearcher is for searching best Viterbi path
Parameters:
| Name | Type | Description |
|---|---|---|
connection_costs |
ConnectionCosts | Connection costs matrix |
Methods
-
search(lattice)
-
Search best path by forward-backward algorithm
Parameters:
Name Type Description latticeViterbiLattice Viterbi lattice to search
Returns:
Shortest path
- Type
- Array