Re: A question about general_work() function

No need to re-implement the Viterbi algorithm on your own.
It is implemented in a very general form in gr-trellis :slight_smile:

See examples of how to initialize it in
gnuradio-examples/python/channel-coding/

Achilleas