摘要: 广度优先搜索算法(Breadth-First-Search),又译作宽度优先搜索,或横向优先搜索,简称BFS,是一种图形搜索算法。简单的说,BFS是从根节点开始,沿着树的宽度遍历树的节点。如果所有节点均被访问,则算法中止。原理:从算法的观点,所有因为展开节点而得到的子节点都会被加进一个先进先出的队列... 阅读全文
posted @ 2013-07-31 23:46 InkGenius 阅读(981) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionOne of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of powers of 3 to go from 0 to 333 and he ... 阅读全文
posted @ 2013-07-31 22:19 InkGenius 阅读(150) 评论(0) 推荐(0) 编辑