-
全排列算法CPP代码Permutation
全排列算法的实现,从n个不同元素中任取m(m≤n)个元素,按照一定的顺序排列起来,叫做从n个不同元素中取出m个元素的一个排列。当m=n时所有的排列情况叫全排列。
- 2023-04-04 20:20:03下载
- 积分:1
-
hola mundo
HOLA MUNDO EN FORTRAN,独奏干草 QUE COMPILAR EN CUALQUIER 编辑器 DE FORTRAN 崖 INCLUYE EJECUTABLE 段 ABIR Y EJECUTAR
- 2022-01-22 11:24:05下载
- 积分:1
-
use VC read seismic data files
使用VC读取地震数据文件-use VC read seismic data files
- 2022-08-25 12:27:46下载
- 积分:1
-
操作系统中的多级反馈队列调度算法
操作系统中的多级反馈队列调度算法-operating system as a multi-level feedback queue scheduling algorithm
- 2022-10-13 21:30:02下载
- 积分:1
-
meanshift图像平滑和分割_matlab
1.意思是转移的迭代过程只做了一次(为了简单)2.对图像中的某一点进行平移时,只考虑了距离它小于2*hr的点、 而不是图像中所有的点。3.实验过程中只用到了gauss核,虽然提供了method的选择,但在进行值域加权时只用到gauss核、 如果需要请自己改正。4.meanshiftseg中,对分成一类的像素、 取的是它们的平均值作为属于该区域的像素的值。5.为了简单彩色图只做了第一维。其它类似的。附件有测试图有运行结果、 MAIN函数是一个简单地的用法示例
- 2022-02-05 15:50:17下载
- 积分:1
-
DBSCAN算法
% Function: [class,type]=dbscan(x,k,Eps)
% -------------------------------------------------------------------------
% Aim:
% Clustering the data with Density-Based Scan Algorithm with Noise (DBSCAN)
% -------------------------------------------------------------------------
% Input:
% x - data set (m,n); m-objects, n-variables
% k - number of objects in a neighborhood of an object
% (minimal number of objects considered as a cluster)
% Eps - neighborhood radius, if not known avoid this parameter or put []
% -------------------------------------------------------------------------
% Output:
% class - vector specifying assignment of the i-th object to certain
% cluster (m,1)
% type - vector specifying type of the i-th object
% (core: 1, border: 0, outlier: -1)
- 2022-04-08 08:12:27下载
- 积分:1
-
操作系统实验读者写者的实现
读者-写者的读写限制(包括读者优先和写者优先) 1)写-写互斥,即不能有两个写者同时进行写操作 2)读-写互斥,即不能同时有一个读者在读,同时却有一个写者在写 3)读读允许,即可以有2个以上的读者同时读读者优先的限制: 如果一个读者申请读操作时,已经有一个读者在读,则该读者可以直接读写者优先的限制: 如果一个读者申请读操作时,有写者在等待访问共享资源时,则该读者要等到没有写者处于等的状态时才能开始读操作
- 2022-01-28 03:39:48下载
- 积分:1
-
遗传算法求解函数最大值
这是一个由MATLAB实现的运用遗传算法求解任意函数最大值的方法。
- 2022-02-12 13:36:42下载
- 积分:1
-
0 / 1背包问题是一个N P
0 / 1背包问题是一个N P-复杂问题,为了解决该问题,,将用回溯算法解决该问题。既然想选择一个对象的子集,将它们装入背包,以便获得的收益最大,则解空间应组织成子集树的形状(如图1 6 - 2所示)。该回溯算法与4 . 2节的装载问题很类似。首先形成一个递归算法,去找到可获得的最大收益。然后,对该算法加以改进,形成代码。改进后的代码可找到获得最大收益时包含在背包中的对象的集合。-0/1 knapsack problem is a P-complex issues, in order to solve the problem, and will be used backtracking algorithm to solve the problem. As to the choice of a subset of object, they will load a backpack, in order to obtain the greatest profits, the solution should be organized into space subset of the shape of the tree (Figure 1 6-2 below). The backtracking algorithms and 4. Two loading problem is very similar. Forming a recursive algorithm to get the maximum benefit available. Then, this algorithm is modified to form code. Improved code can be found at the maximum benefits included in the backpack of a collection of objects.
- 2022-02-26 09:06:08下载
- 积分:1
-
利用matlab编写的神经网络程序
这是本人多年来学习神经网络的代码的一个总结,里面包括了具体的算例,以及对训练过程的详细解说,希望对别人有一定的帮助。
- 2022-03-21 23:11:05下载
- 积分:1