regarding the initial state at the encoder, I do not see why anyone
wouldn’t reset the initial state of a block but use the state of a
previous block.
Say it another way, if you want to decode two blocks by setting the
initial state of one as the final state of the other, why don’t you
run the Viterbi algorithm for the entire two-block set of data in one
shot…
if you encode a continuous stream of data you will not reset your
encoder
state in between. However if you want to decode the stream you want to
perform blockwise operation to keep the latency and memory requirements
down. In this cases it makes sense for me to reuse the last state as the
initial state of the next block at the decoder.
If your underlying data is however of a block nature (e.g. frames) I
agree
with you that it makes sense to reset the initial states.
Yours
Martin
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.