摘要: 算法思想 图中一个未访问的顶点 V 开始,沿着一条路一直走到底,然后从这条路尽头的节点回退到上一个节点,再从另一条路开始走到底...,不断递归重复此过程,直到所有的顶点都遍历完成,它的特点是不撞南墙不回头,先走完一条路,再换一条路继续走。 代码实现 邻接矩阵实现: 结构体定义:使用二维数组来定义,存 阅读全文
posted @ 2021-02-09 22:06 布拉多1024 阅读(102) 评论(0) 推荐(0)
摘要: 电子书资源:R语言实战 书籍简介 《R语言实战》从解决实际问题入手,尽量跳脱统计学的理论阐述来讨论R语言及其应用,讲解清晰透澈,极具实用性。作者不仅高度概括了R语言的强大功能、展示了各种实用的统计示例,而且对于难以用传统方法分析的凌乱、不完整和非正态的数据也给出了完备的处理方法。通读本书,你将全面掌 阅读全文
posted @ 2021-02-09 20:59 布拉多1024 阅读(928) 评论(0) 推荐(0)
摘要: A quadtree is a representation format used to encode images. The fundamental idea behind the quadtree is that any image can be split into four quadran 阅读全文
posted @ 2021-02-09 20:42 布拉多1024 阅读(46) 评论(0) 推荐(0)
摘要: The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of 阅读全文
posted @ 2021-02-09 20:41 布拉多1024 阅读(46) 评论(0) 推荐(0)
摘要: Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, though it o 阅读全文
posted @ 2021-02-09 20:40 布拉多1024 阅读(44) 评论(0) 推荐(0)
摘要: Before being an ubiquous communications gadget, a mobile was just a structure made of strings and wires suspending colourfull things. This kind of mob 阅读全文
posted @ 2021-02-09 12:52 布拉多1024 阅读(56) 评论(0) 推荐(0)
摘要: Each year, fall in the North Central region is accompanied by the brilliant colors of the leaves on the trees, followed quickly by the falling leaves 阅读全文
posted @ 2021-02-09 12:50 布拉多1024 阅读(64) 评论(0) 推荐(0)
摘要: You are to determine the value of the leaf node in a given binary tree that is the terminal node of a path of least value from the root of the binary 阅读全文
posted @ 2021-02-09 12:49 布拉多1024 阅读(37) 评论(0) 推荐(0)
摘要: 默认参数是指当函数中省略了实参时自动使用的一个值。如将函数void wow(int n),将n的值设置为默认参数1,调用函数wow() 就像同于调用函数wow(1)。通过使用默认参数,可以减少要定义的函数、方法等的数量。 设置默认参数 将默认值赋给原型中的参数。 //examples char *p 阅读全文
posted @ 2021-02-09 12:47 布拉多1024 阅读(299) 评论(0) 推荐(0)
摘要: Trees are fundamental in many branches of computer science (Pun definitely intended). Current stateof-the art parallel computers such as Thinking Mach 阅读全文
posted @ 2021-02-09 12:44 布拉多1024 阅读(57) 评论(0) 推荐(0)
摘要: Background from Wikipedia: “Set theory is a branch of mathematics created principally by the German mathematician Georg Cantor at the end of the 19th 阅读全文
posted @ 2021-02-07 21:59 布拉多1024 阅读(81) 评论(0) 推荐(0)
摘要: Most crossword puzzle fans are used to anagrams — groups of words with the same letters in different orders — for example OPTS, SPOT, STOP, POTS and P 阅读全文
posted @ 2021-02-07 21:56 布拉多1024 阅读(53) 评论(0) 推荐(0)
摘要: 函数重载可以让操作者使用多个同名的函数,C也允许又多个同名函数出现。当我们使用同一个函数有不同的参数,C使用上下文来确定要是用的重载函数版本。当给定的参数在所有重载函数中没有找到合适的,那么C不会自动停止使用其中的某个函数,C将尝试使用标准类型转换强制进行匹配。 函数重载条件 函数特征标相同:即两个 阅读全文
posted @ 2021-02-07 21:52 布拉多1024 阅读(99) 评论(0) 推荐(0)
摘要: Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and 阅读全文
posted @ 2021-02-07 19:26 布拉多1024 阅读(60) 评论(0) 推荐(0)
摘要: Sort函数简介 ​ sort()函数是C++的一个排序函数,可以对传入参数给定的区间的所有元素进行排序,默认是升序,也可以是降序,如果需要其他排序规则需要自行编写compare()函数作为参数。sort()并不是简单的冒牌排序之类的,而是经过优化后的的快速排序算法函数模板,时间复杂度n*log2( 阅读全文
posted @ 2021-02-07 19:17 布拉多1024 阅读(524) 评论(0) 推荐(0)