Class: ViterbiSearcher

ViterbiSearcher


new ViterbiSearcher(connection_costs)

ViterbiSearcher is for searching best Viterbi path

Parameters:
Name Type Description
connection_costs ConnectionCosts

Connection costs matrix

Methods


Search best path by forward-backward algorithm

Parameters:
Name Type Description
lattice ViterbiLattice

Viterbi lattice to search

Returns:

Shortest path

Type
Array