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