-
基于混合粒子群算法的TSP寻优算法
粒子群算法虽然具有算法简单,寻优速度快等优点,但同时存在算法容易收敛,易陷入局部最优值等问题。采用遗传算法改进粒子群算法,通过选择、交叉和变异操作的引入,改进了算法性能,增强了算法的全局搜索能力。本案例研究了基于混合粒子群算法的TSP寻优算法。
- 2022-03-18 07:40:18下载
- 积分:1
-
% [nearest_neighbours] = find_nearest_neighbours( database, desc, max_dist )
%...
% [nearest_neighbours] = find_nearest_neighbours( database, desc, max_dist )
% Find the indices of the nearest neighbours of the given desriptors in the近邻点寻找算法,在非线性时间序列中很有用,是常用的算法- [Nearest_neighbours] = find_nearest_neighbours (database, desc, max_dist) Find the indices of the nearest neighbours of the given desriptors in the neighbor-point search algorithm, the nonlinear time series of very useful, is a commonly used algorithm
- 2022-05-24 09:30:26下载
- 积分:1
-
MATLAB进行灰色预测与聚类分析的程序代码
MATLAB进行灰色预测与聚类分析的程序代码, 程序能够运行出正确的结果,希望对各位有帮助。
- 2022-03-14 18:42:24下载
- 积分:1
-
该程序是用C语言写的采用了动量方法的BP神经网络,它具有极其强大的扩展性,可用于函数的逼近及分类识别等各方面,语言书写规范,其中大量使用了动态分配一、二维数组的...
该程序是用C语言写的采用了动量方法的BP神经网络,它具有极其强大的扩展性,可用于函数的逼近及分类识别等各方面,语言书写规范,其中大量使用了动态分配一、二维数组的方法,该网络实例中实现的是对某一函数的逼近,输入层为二层,中间层可自己设定多达十几层,逼近精度非常精确。读者可根据自己的需要设定各层的数目以及相应的训练样本进行训练与测试。-The program is written in C language using the momentum method of BP neural network, which has extremely powerful scalability, can be used for function approximation and classification in areas such as language specification, including large-scale use of a dynamically allocated one, two dimensional array of methods, examples of the network realize that the approximation of a function, for the second input layer, middle layer can be set as many as a dozen layers, close to very precise accuracy. Readers may need to be set in accordance with its own number of floors and the corresponding training samples for training and testing.
- 2022-09-23 15:35:02下载
- 积分:1
-
用C++实现各种排序算法:如冒泡排序、选择排序、插入排序、希尔排序、快速排序、归并排序、基数排序和堆排序,并带有源代码说明...
用C++实现各种排序算法:如冒泡排序、选择排序、插入排序、希尔排序、快速排序、归并排序、基数排序和堆排序,并带有源代码说明-With C++ Realize a variety of sorting algorithms: such as Bubble Sort, Selection Sort, Insertion Sort, Hill sort, quick sort, merge sort, Radix Sort and Heap Sort, with source code Description
- 2023-08-13 02:15:02下载
- 积分:1
-
NSGAII Matlab实现源代码
针对多目标遗传算法的Matlab代码,本代码是在原论文的基础上编写的关于此方法的,并尝试在编程中使用从简单记数法。
- 2022-03-15 06:18:16下载
- 积分:1
-
直接分解算法
* To factor the n by n matrix A = (A(I,J)) into the product of the* lower triangular matrix L = (L(I,J)) and U = (U(I,J)), that is* A = LU, where the main diagonal of either L or U consists of all ones:** INPUT: dimension n; the entries A(I,J), 1
- 2023-06-21 06:30:04下载
- 积分:1
-
knn算法C实现
KNN最邻近算法在c上的实现。输入样本可以根据已经训练好的模型将该词分类,或者重新训练样本,将该新输入的样本进行分类。代码是在C语言上完成的。
- 2022-01-21 00:19:45下载
- 积分:1
-
八皇后问题
///////////////////////////////////////////////////
// 八皇后问题
// 循环实现, 共有92个解
// 命令窗口显示
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-08-08 01:40:03下载
- 积分:1
-
列主元消去法。计算方法中的一种课程算法
列主元消去法。计算方法中的一种课程算法-out PCA elimination method. The calculation algorithm curriculum
- 2022-04-15 19:43:45下载
- 积分:1