搜索资源列表
A星算法
- 1, 在Main()函数内顶了20个城市结点,用CNode结点存储;以及这20个城市的预估代价值,用整形数组存储。 2, 进入循环中与用户交互执行搜索。首先列出先前定义的城市结点信息如图1,然后询问用户开始搜索的城市,用户输入城市编号,即可。 3,定义搜索类的实例,传入初始数据,,设置搜索起点,开始搜索。由于在关系中定义好了各个城市结点的连接关系,所以一定会搜索到城市B。 4,与用户交互询问,是否重新开始,输入‘Y’转步骤2,输入‘N’退出程序。
BTree.二叉树的递归算法
- 二叉树的递归算法:计算高度、结点个数、交换左右儿子 问题的描述 写一完整函数,计算树的结点数目int CountNode(BTNode<T>* &t); 完善以下两个函数: 计算树的高度int Depth(BTNode<T>* &root); 对树的所有子树交换左右孩子void swapsons(BTNode<T>* &t);,Binary Tree Recursive Algorithm: Calculate the hei
jilushijian
- 一个关于显示本机时间的函数,算法比较简单,但又用到指针,希望给初学者一定的帮助。-A shows the time on the machine function, the algorithm is simpler, but using a pointer, hope to help the novice.
HJ
- 最优化极值搜索中用黄金分割法求解一维函数的极值,算法简单希望采纳(Optimization extremum search, the golden section method to solve the extremum of one-dimensional function, the algorithm is simple, hope to adopt)
LK算法
- 利用openCV,首先利用goodFeaturesToTrack函数得到图像中的强边界作为跟踪的特征点,接下来要调用calcOpticalFlowPyrLK函数,输入两幅连续的图像,并在第一幅图像里选择一组特征点,输出为这组点在下一幅图像中的位置。再把得到的跟踪结果过滤一下,去掉不好的特征点。再把特征点的跟踪路径标示出来。(Using openCV, we use goodFeaturesToTrack function to get strong edges in the image as t
光流法运动估计OpticalFlow
- 利用openCV,首先得到图像中的强边界作为跟踪的特征点,调用函数,输入两幅连续的图像,并在第一幅图像里选择一组特征点,输出为这组点在下一幅图像中的位置。再把结果过滤,去掉不好的特征点。把特征点的跟踪路径标示出来。(Using openCV, we use goodFeaturesToTrack function to get strong edges in the image as the feature point tracking, next to call calcOpticalFlow
烟花算法matlab代码
- 烟花算法的代码解析,以及测试数据,还有多个测试函数(Fireworks algorithm code analysis)
MATLAB遗传算法
- 遗传算法和非线性规划的函数寻优,BP神经网络优化(Genetic algorithm and nonlinear programming function optimization, BP neural network optimization)
MATLAB语言常用算法程序集清晰版
- matlab语言的产生与数学紧密联系在一起,友好的工作平台和编程环境,易学的编程语言(Matlab language and mathematics closely linked, friendly work platform and programming environment, easy to learn programming language)
单目标粒子群算法寻优
- 利用粒子群优化算法,对单目标函数寻优,寻找函数的极值。(Searching for the extremum of a function by searching the single objective function.)
demo4
- 遗传算法是计算数学中用于解决最佳化的搜索算法,是进化算法的一种。进化算法最初是借鉴了进化生物学中的一些现象而发展起来的,这些现象包括遗传、突变、自然选择以及杂交等。遗传算法通常实现方式为一种计算机模拟。(Genetic algorithm (GA) is a search algorithm for solving optimization in computational mathematics. It is a kind of evolutionary algorithm. Evolutio
DeJongTestFunctions
- 在pso粒子群优化函数中的典型测试基准函数,应用检测pso算法的优劣性(In the PSO particle swarm optimization function of the typical test benchmark function, the application of PSO algorithm to check the pros and cons)
matlab-files
- CEC2005的测试函数,适用于粒子群算法的测试(The test function of CEC2005 is applicable to the test of particle swarm algorithm)
GA
- GA拟合多元函数,实现函函数的拟合。遗传算法在拟合复杂函数具有很好的效果。残差小。(GA fitting multivariate functions, the realization of the function of the fitting. The genetic algorithm has a good effect in fitting complex functions. Small residual.)
ga函数
- 遗传算法是一个万精油,几乎很多的地方都会用到这个算法。希望对大家有用(Genetic algorithm is a million essential oils, almost in many places will use this algorithm. Hope to be useful to everyone)
MOPSO程序(附带测试函数)
- 适用于求解多目标问题,收敛性好,算法不缺乏多样性。(Be suitable to solve Multi-objective problems, better convergence and no lacking diversity)
粒子群优化算法代码
- 粒子群算法matlab源程序,换个函数,更改相应的参数就可以在matlab上运行啦(Particle swarm algorithm Matlab source program, change a function, change the corresponding parameters can run on Matlab)
经典函数
- 经典的测试函数,可用于算法的测试,对比算法的性能,具有很大的作用。(The classic test function can be used for algorithm testing, and it has a great effect in comparing the performance of the algorithm.)
Matlab 优化求解之蝙蝠算法
- 蝙蝠算法合集,包括几个测试函数,适合新手学习(The bat algorithm collection, including several test functions, suitable for beginners to learn)
单目标GOA算法
- 能够实现蝗虫优化算法,里面包含许多经典的单目标测试函数,使用时直接运行main函数即可,需要更改测试函数的的话自己在main里面修改(It can realize locust optimization algorithm, which contains many classic single objective test functions. When using, you can directly run the main function. If you need to change th