我需要在C#中使用Haffman代码 [英] I need Haffman code in c#

查看:88
本文介绍了我需要在C#中使用Haffman代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要霍夫曼编码算法,以便您可以在这张照片中看到.文件应为2D数组.用户的体重和性格被带入2D数组.
请帮帮我.

http://en.wikipedia.org/wiki/File:Huffman_huff_demo.gif

Hi
I need to Huffman Code Algorithm for me so that you can see in this picture. File should be a 2D array. The weight and character of the user is taken to a 2D array.
Please help me.

http://en.wikipedia.org/wiki/File:Huffman_huff_demo.gif

推荐答案

您是希望我们为您撰写这篇文章时还是引用它,还是希望您自己编写并仅向我们寻求免费帮助?
Would you like us to quote on writing this for you, or would yo prefer to write it yourself and just ask us for free help ?


要想取得任何成果,您确实需要付出一些努力.

我非常确定您已经知道在哪里可以找到该算法的完整说明: http://en.wikipedia.org/wiki /Huffman_coding [^ ].本文包含许多指向该算法的实现的Web链接:C,Python.

本文提供了27种语言(!)的实现: http://rosettacode.org/wiki/Huffman_codes [
You really need to put some effort in your work if you want to get any results.

I''m pretty much sure you already know where to find complete description of the algorithm: http://en.wikipedia.org/wiki/Huffman_coding[^]. This article includes many good Web links to implementations of the algorithm: C, Python.

This article provides implementations in 27 languages (!): http://rosettacode.org/wiki/Huffman_codes[^].

Some of the implementation will look very similar to C#: especially Java, more or less C++, Ada (looks different but essentially very close as definitions of arithmetic operators are used). Algorithm itself is quite simple, especially when it''s explained to you in such a detailed way. So, what''s remaining problem? Implementation in C# using available samples? But what are you good for? I don''t think anyone would be interested enough to do this work for you. The most interested person here is you. Put some effort and have the result.

—SA


这篇关于我需要在C#中使用Haffman代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆