algorithm - JT file format : Building huffman tree -
i trying read jt file. jt file may have information compressed using huffman algorithm. facing problem while building huffman tree. there's ambiguity in implementation occurs when 2 symbols have same frequency, depending on comparison use between nodes, order may different , leads inversion of branches of tree. unable build proper huffman tree. have faced issue earlier? there solution this?
i have faced same issue when tried implement parser jt. didn't solution. tried contact guys siemens without getting solution. there ambiguity can't solved without further information siemens. spec alone doesn't help. think huffman dropped out in newest jt spec.
Comments
Post a Comment