-
八皇后问题的C / C + +
8 queens problem in c/c++
- 2022-06-13 05:14:49下载
- 积分:1
-
遗传算法C
很好用的c
注:前两个文件存储为m文件并放在工作目录下,运行结果为
p =
0.0000 -0.0000 0.0055
大家可以直接绘出f(x)的图形来大概看看f(x)的最值是多少,也可是使用优化函数来验证。matlab命令行执行命令:
fplot("x+10*sin(5*x)+7*cos(4*x)",[0,9])
evalops是传递给适应度函数的参数,opts是二进制编码的精度,termops是选择maxGenTerm结束函数时传递个maxGenTerm的参数,即遗传代数。xoverops是传递给交叉函数的参数。mutops是传递给变异函数的参数。
- 2023-05-18 06:50:04下载
- 积分:1
-
数据结构中利用栈模拟停车场管理,用C语言编写。
数据结构中利用栈模拟停车场管理,用C语言编写。-data stack structure using simulated car park management, with C language.
- 2022-03-19 00:31:06下载
- 积分:1
-
用于建筑的测斜数据处理!把测试设备的数据下载电脑,通过本系统进行分析,然后生成所需要的数据!...
用于建筑的测斜数据处理!把测试设备的数据下载电脑,通过本系统进行分析,然后生成所需要的数据!-For construction of the inclinometer data processing! The test equipment data download computer, through an analysis of the system, and then generate the data needed!
- 2022-03-16 12:33:53下载
- 积分:1
-
个人所得简税计算与作表软件,适合一月多发情况
个人所得简税计算与作表软件,适合一月多发情况-Brief personal income tax calculation for the table with the software, for January-prone situations
- 2022-01-26 05:44:38下载
- 积分:1
-
在视频处理中经常要用到Zigzag序号及其逆序号,本文提供了一个新的类CZigzag,可以求任意m×n块的Zigzag序号及其逆序号。 由于所求的Zigzag序...
在视频处理中经常要用到Zigzag序号及其逆序号,本文提供了一个新的类CZigzag,可以求任意m×n块的Zigzag序号及其逆序号。 由于所求的Zigzag序号及其逆序号为一次性遍历生成,其时间复杂度仅为O(m×n)。-In video often use to deal with the serial number and its reverse No. Zigzag, the paper provides a new category CZigzag, can seek arbitrary m × n block Zigzag its serial number and its reverse. Zigzag As the demand for its serial number and its reverse traversal generates one-time, its time complexity is only O (m × n).
- 2023-05-08 04:40:02下载
- 积分:1
-
Gauss iteration method for solving linear equations of the source code!
高斯迭代法求解线性方程组的源代码! -Gauss iteration method for solving linear equations of the source code!
- 2022-03-09 20:56:55下载
- 积分:1
-
自创的算法,输入表达式,建立二叉树的程序,然后输出前缀中缀后缀表示法,利用的对表达式的分割与递归实现输入,同时这也是一个完整的波兰式转换程序,相当稳健...
自创的算法,输入表达式,建立二叉树的程序,然后输出前缀中缀后缀表示法,利用的对表达式的分割与递归实现输入,同时这也是一个完整的波兰式转换程序,相当稳健-own algorithm, the importation of expression, the establishment of the binary tree and then output the suffix prefix which is made up of the method, using the right expression Segmentation and recursive input, and this was also a Polish integrity of the conversion process, sound
- 2022-01-25 21:42:04下载
- 积分:1
-
/* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means...
迷宫算法(maze)
/* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK,
* 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary.
* Each step can be made horizontally or vertically for one more grid (diagonal
* jump is not allowed).
* Your program should print a series of grid coordinates that start from m[0][0]
* and go to m[9][9]
* Hint: No need to find the shortest path, only need to find one path that gets
* you to desitination.
*/
-/* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK,
* 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary.
* Each step can be made horizontally or vertically for one more grid (diagonal
* jump is not allowed).
* Your program should print a series of grid coordinates that start from m[0][0]
* and go to m[9][9]
* Hint: No need to find the shortest path, only need to find one path that gets
* you to desitination.
- 2022-08-08 06:28:42下载
- 积分:1
-
一个实现了三个查找功能的c语言源代码,分别是顺序查找,折半查找和二叉查找树上的查找。可用VC直接编译运行,对查找算法做了很好的演示。...
一个实现了三个查找功能的c语言源代码,分别是顺序查找,折半查找和二叉查找树上的查找。可用VC直接编译运行,对查找算法做了很好的演示。-A search function to achieve the three c-language source code, namely, sequential search, binary search and binary search tree to find. VC can be compiled to run directly on the search algorithm has done a very good presentation.
- 2022-09-05 07:45:02下载
- 积分:1