算法与计算机科学cleveralgorithms.com
聪明算法:受自然启发的编程配方
Clever Algorithms: Nature-Inspired Programming Recipes
2011 — 2017,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
这是一本免费在线书籍《Clever Algorithms: Nature-Inspired Programming Recipes》,系统收录了受自然启发的各类算法(如遗传算法、模拟退火、蚁群算法等),每章包含生物学原理、算法描述及伪代码和 Ruby 实现。它更像一部算法百科全书,适合作为参考手册查阅。
为什么经久不衰:它免费、开源且覆盖面广,多年来反复登上 HN 首页,至今仍是查阅自然启发式算法的便捷参考。
HN 评论精选
这本书是百科全书式的参考,不适合入门,缺少原理解释和算法对比
几年前在 HN 上看到这本书,觉得挺有意思。可惜它对我深入学习这个领域帮助不大,对解决其他问题也没什么帮助。它更像一本百科全书而非教科书,不适合作为入门起点。每章基本分为“生物学启发”、算法简介,然后列出伪代码和 Ruby 代码。我最希望看到的是:1. 对算法为何有效的直观或严格的数学解释;2. 与其他算法的比较。总之:就其定位而言是本好书,但如果你想要入门,请另寻他处。
chillee查看英文原文
I saw this book on HN several years ago, and thought it was pretty interesting, and maybe worth reading. Unluckily, it didn't help me very much in learning more about this field, nor did I think it was very helpful for solving other problems. Basically, it's more of an encyclopedia than a textbook, and not a good starting point. Every post is basically separated into "biological inspiration", a brief description of the algorithm itself, and then a listing of the pseudocode and Ruby code. The primary thing I was left wanting was 1. Either an intuitive explanation of why the algorithm worked well or a more rigorous mathematical explanation. 2. A comparison with the other algorithms. TL;DR: A good book for what it is. However, if you're somebody looking for an introduction to these algorithms, look elsewhere.
作为入门起点有价值,但内容有局限,不算完整著作
我很喜欢这本书,但只能把它当作起点。作为合集不错,但它既不是综述也不是完整的书。我在演化策略方面做了很多工作,起点就是这本书,虽然它有点局限。
finalfire查看英文原文
I'd love this book but unfortunately I can only address it as a starting point. It's good enough for a collection but it isn't a survey neither a complete book. I've worked a lot with evolution strategies and the starting point was this book although a bit limiting.
作为免费参考资料值得肯定,但成书质量一般
我喜欢作者收集这些算法的方式,而且免费发布也无可指摘。至于风格、实用性和代码质量……我的感觉就没那么好了。我肯定会留着这本书,偶尔翻翻也很有乐趣,但称它为一本正式的“书”就有点勉强了。再次感谢作者,很好的参考资料。
rbxbx查看英文原文
I like how none of the comments actually have anything to do with the post, however at the time of this writing it's up to 113 points. I understand that links to the original discussion were posted, however if you're aware of those, why are you upvoting _this_ thread? Does anyone actually peruse the content they're upvoting these days? I thought the author did good job collecting these algorithms, and certainly can't be faulted for releasing it for free. Now as the style/usefulness/code quality goes... I feel less warm and fuzzy. I'll definitely keep this book lying around and have enjoyed reading through it from time to time, but calling it a 'book' proper seems a bit of a stretch, to me. Once again... thanks author. Great reference, and etc... just .... y'kno.
这类算法属于仿生学,推荐相关视频加深理解
自然启发的算法可以归入“仿生学”范畴。我前几天看到一个视频,介绍了日本新干线子弹头列车从自然界获得的设计灵感,建议读者看看这个视频来体会其深刻之处。
yeukhon查看英文原文
Nature-inspired recipes can be categorized as "biomimicry". I came across this video [1] the other day, which described the design inspirations the Japan’s Shinkansen bullet train took from nature. [1]: https://www.vox.com/videos/2017/11/9/16628106/biomimicry-design-nature I suggest readers to watch this video to get the very profoundness.
历次讨论
同类还值得读
位运算技巧集
Bit Twiddling Hacks
斯坦福页面上的经典位运算技巧合集,收录了 popcount、前导/尾随零、位反转、交换、舍入等大量技巧,并附有解释和性能讨论。
算法与计算机科学上首页 8 次 · 2011–2024graphics.stanford.edu编辑精选如何不按平均评分排序
How Not To Sort By Average Rating
经典文章解释了为什么按平均评分排序不可靠:只有少量评价的条目(比如仅一条五星)会轻易排到最前,而评价数量的差异被忽略。
算法与计算机科学上首页 7 次 · 2009–2024evanmiller.org编辑精选数据结构可视化
Data Structure Visualizations
旧金山大学 David Galles 教授制作的数据结构与算法交互式可视化网站,涵盖 B 树、红黑树、排序、图算法等,可逐步操作观察其运行过程。
算法与计算机科学上首页 6 次 · 2011–2021cs.usfca.edu编辑精选1996 年以来的计算机科学最佳论文奖
Best Paper Awards in Computer Science since 1996
Jeff Huang 维护的一个汇总页面,收录了自 1996 年以来计算机科学各主要会议的“最佳论文奖”获奖名单,并按年份和会议整理,方便读者一站式浏览历届获奖论文。
算法与计算机科学上首页 6 次 · 2010–2018jeffhuang.com编辑精选算法(Jeff Erickson)
Algorithms, by Jeff Erickson
伊利诺伊大学 Jeff Erickson 教授的算法课教材,免费在线开放。
算法与计算机科学上首页 5 次 · 2018–2022jeffe.cs.illinois.edu编辑精选