HuffmanCoder

Parent Previous Next

VisualSim.actor.lib.comm
Class HuffmanCoder


Given a probability distribution and alphabet, encode the input using Huffman code and send the result in booleans to the output port. Its base class HuffmanBasic generates the code book. The HuffmanCoder actor simply encode the input into the corresponding booleans in the code book.





Created with the Personal Edition of HelpNDoc: Free Kindle producer