有关递归算法复杂性的信息

发布于 2024-08-12 10:37:20 字数 80 浏览 2 评论 0原文

有谁知道一些关于计算递归算法复杂性的好资料? 不知怎的,循环方程并不是真正流行的网页标题或者什么,我只是无法用谷歌搜索出任何合理的东西......

does anyone know about some good sources about counting complexity of recursive algorithms?
somehow recurrent equation isn't really popular title for web page or what, I just couldn't google out anything reasonable...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

牛↙奶布丁 2024-08-19 10:37:20

这是一个复杂的话题,在互联网上的免费文献中并没有很好的记录。

我刚刚做了一次类似的考试,我可以向您推荐我的老师编写的手册: PDF手册

这本手册主要介绍了另一种称为生成函数的工具,它对于解决任何类型的递归问题很有用,而不必过多关注递归类型。

有一本关于算法分析的好书,即算法分析简介 (亚马逊链接),但你在网上找不到它(我必须扫描其中的一部分) 。

顺便说一句,我在互联网上进行了很多搜索,但没有找到任何完整的参考资料,其中包含对学习技术有用的示例。

This is a complex topic that is not so well-documented on free licterature on internet.

I just did a similar exam and I can point you to the handbook written by my teacher: PDF Handbook

This handbook covers mostly another tool called generating functions that are useful to solve any kind of recurrence without bothering too much on the kind of recurrence.

There is a good book about Analysis of Algorithms that is An introduction to the Analysis of Algorithms (amazon link) by Sedgewick and Philippe Flajolet but you won't find it online (I had to scan parts of it).

By the way I've searched over internet a lot but I haven't found any complete reference with examples useful to learn the techniques.

表情可笑 2024-08-19 10:37:20

我认为您会更幸运

I think you would have had more luck with recurrence equation.

绝不放开 2024-08-19 10:37:20

您还可以查看主定理

在算法分析中,
主定理,这是一个具体的定理
Akra-Bazzi 定理的情况,
提供了一个食谱解决方案
递归的渐近项
发生在的类型关系
实践。它被流行于
规范算法教科书
Cormen 的算法简介,
莱瑟森、里维斯特和斯坦因
分节介绍并证明
分别为 4.3 和 4.4。然而,并不是所有的复发
关系可以通过使用来解决
主定理。

You can also check out the Master theorem.

In the analysis of algorithms, the
master theorem, which is a specific
case of the Akra-Bazzi theorem,
provides a cookbook solution in
asymptotic terms for recurrence
relations of types that occur in
practice. It was popularized by the
canonical algorithms textbook
Introduction to Algorithms by Cormen,
Leiserson, Rivest, and Stein, which
introduces and proves it in sections
4.3 and 4.4, respectively. Nevertheless, not all recurrence
relations can be solved with the use
of the master theorem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文