HuffmanCoder
ptolemy.actor.lib.comm.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.

Author(s): Ye Zhou
Version:$Id: HuffmanCoder.doc.html,v 1.1 2006/02/22 18:41:22 mangal Exp $
Pt.Proposed Rating:Red (zhouye)
Pt.Accepted Rating:Red (cxh)