-
动态规则解数字三角问题给定一个由n行数字组成的数字三角形如下图所示。试设计一个算法,计算出从三角形的顶至底的一条路径,使该路径经过的数字总和最大。...
动态规则解数字三角问题给定一个由n行数字组成的数字三角形如下图所示。试设计一个算法,计算出从三角形的顶至底的一条路径,使该路径经过的数字总和最大。-Digital triangle Issue Description : given an OK by the number n of triangular figures shown in the diagram below. Design of a test algorithm, calculated from the top of the triangle to the end of a path, the path through the largest sum of the figures.
- 2022-12-23 12:15:03下载
- 积分:1
-
用来产生嵌入到随机噪声内的正弦波算法的C源程序。
用来产生嵌入到随机噪声内的正弦波算法的C源程序。-used to produce embedded into random noise sine wave within the algorithm in C source code.
- 2022-01-26 07:02:13下载
- 积分:1
-
解小数问题(c实现)
解小数问题(c实现)-Solutions decimal (c realization)
- 2022-06-17 22:31:09下载
- 积分:1
-
matlab详细手册
matlab详细手册-matlab detailed handbook
- 2022-08-31 09:45:03下载
- 积分:1
-
A*星算法Lua版
A星寻路算法Lua版
算法原理描述,百度一下一大堆,参考http://blog.sina.com.cn/s/blog_6612d09b0100ve1z.html
其实很简单,
1. 我们无法直接知道怎么到达目的地,但是我们能够知道怎么样从起始点到达相邻的格子,还能从相邻的格子再到相邻格子的相邻的格子。
2.我们不停的找相邻的格子,相邻格子的相邻格子....总有一天,我们会发现其中一个相邻的格子就是我们的目的地,于是我们找到了这条路。
3.在此基础上,我们加入 预估值来提高寻找的效率,我们总是优先寻找预估值低的那些相邻的格子。
其中 f= g+h
g 是实际耗费的值
h 是预估值,从当前位置到达目标位置所耗费的移动值,预估有几种算法,这边用的是 对角线估价法
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报 打分 发表评论 暂无评论
- 2022-08-22 01:25:50下载
- 积分:1
-
图像的复原
资源描述AppWizard has created this ImageProcessing application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application.
- 2023-01-04 15:40:03下载
- 积分:1
-
克隆代码检测工具(Nicad)
资源描述Kim团队开发的克隆代码检测工具,如今已经被广泛应用,成为最权威的克隆代码检测工具。Nicad能够检测type1、type2和type3类型的克隆代码,涉及java、C、C#、Python等常用语言。为软件开发和维护人员提供服务。
- 2022-03-10 02:40:38下载
- 积分:1
-
最邻近点迭代
点云配准的经典算法,最邻近点迭代,iterative closest point输入为模型与待配准点云,输出为两块点云之间的旋转、平移以及中误差。
- 2022-07-23 02:56:03下载
- 积分:1
-
矩阵类
可实现转置,求逆,求秩,求行列式值,求正定,重载了各种运算符...
矩阵类
可实现转置,求逆,求秩,求行列式值,求正定,重载了各种运算符-Matrices can be realized transpose, inverse, and rank, and the determinant value, and positive definite, a variety of operator overloading
- 2022-08-23 19:08:32下载
- 积分:1
-
一个用于蛋白质序列分类的profile hmm的Perl代码
一个用于蛋白质序列分类的profile hmm的Perl代码-One for protein sequence classification of the Perl code profile hmm
- 2022-10-26 00:10:03下载
- 积分:1