简体   繁体   English

斐波那契编码

[英]Fibonacci coding

Can anybody suggest a good book/paper/website/background reading about universal codes for integers and especially Fibonacci code (in the sense of http://en.wikipedia.org/wiki/Fibonacci_code )? 有人能推荐一本关于整数通用代码,尤其是斐波那契代码(在http://en.wikipedia.org/wiki/Fibonacci_code的意义上)的好书/论文/网站/背景资料吗? Thanks! 谢谢!

Edit: Thanks for the answers and the useful links so far! 编辑:感谢您的答案和到目前为止有用的链接! I am sorry if I have not made myself completely clear: I am not asking about code (as in writing a program) to generate or compute Fibonacci numbers, but about a particular code (as in encoding, or compressing, data) that makes use of Fibonacci numbers. 很抱歉,如果我还没有完全弄清楚自己的意思:我不是在询问用于生成或计算斐波那契数的代码(例如在编写程序时),而是在询问使用某个特定代码(例如在编码或压缩数据时)斐波那契数。

One paper found with Google Scholar : Google学术搜索中发现了一篇论文:

  • Data compression (DA Lelewer, DS Hirschberg - ACM Computing Surveys (CSUR), 1987) 数据压缩 (DA Lelewer,DS Hirschberg-ACM计算调查(CSUR),1987年)

I'm not so familiar with the subject but the article seems to be pretty decent by a brief looking. 我对这个主题不是很熟悉,但是从简短的角度看,这篇文章似乎很不错。

I find MIT's online lectures to be a good resource generally. 我发现麻省理工学院的在线讲座通常是很好的资源。 And they address Fibonacci algorithms in some detail: http://www.catonmat.net/blog/mit-introduction-to-algorithms-part-two/ 他们还详细介绍了斐波那契算法: http : //www.catonmat.net/blog/mit-introduction-to-algorithms-part-two/

Relevant segments of the video: 视频的相关片段:

[17:49] Algorithms for computing Fibonacci numbers (FBs). [17:49]用于计算斐波纳契数(FB)的算法。
[19:04] Naive recursive algorithm (exponential time) for computing FBs. [19:04]用于计算FB的幼稚递归算法(指数时间)。
[22:45] Bottom-up algorithm for computing FBs. [22:45]用于计算FB的自底向上算法。
[24:25] Naive recursive squaring algorithm for FBs (doesn't work because of floating point rounding errors). [24:25] FB的幼稚递归平方算法(由于浮点舍入错误而无效)。
[27:00] Recursive squaring algorithm for FBs. [27:00] FB的递归平方算法。

Information Theory, Inference, and Learning Algorithms has a chapter on codes. 信息论,推理和学习算法有一章关于代码。 It has a free pdf version, check it out. 它有一个免费的pdf版本,请查看。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM