-
改进的GSO算法
改进的GSO算法,速度比一般的GSO快很多,收敛性好
- 2022-01-24 18:46:27下载
- 积分:1
-
用基本蚁群算法求解0
采用了基本的蚁群算法来求解0-1背包问题,该算法不仅可以对0-1背包问题进行求解,还可以对多维背包问题进行求解。-Using the basic ant colony algorithm to solve the 0-1 knapsack problem, the algorithm not only for the 0-1 knapsack problem can be solved, but also multi-dimensional knapsack problem can be solved.
- 2022-06-22 03:24:58下载
- 积分:1
-
I have written eight issues of a variety of Queen' s random algorithm: includ...
自己编写的八皇后问题的各种随机算法:包括了随机算法,回溯法,随机+回溯求解八皇后-I have written eight issues of a variety of Queen" s random algorithm: including a random algorithm, backtracking random+ back to solve the eight Queen" s
- 2023-08-24 07:15:03下载
- 积分:1
-
研究生数学建模关于交警服务平台调度问题
此程序为2011年研究生数学建模试题的解答。程序中用到了Floyd算法,遗传算法,很好的解决了该问题。
- 2023-07-06 21:55:03下载
- 积分:1
-
c语言实例程序代码
本程序均来自《c语言编程实例》,所上传的代码已得到调试成功,若有需要请留言。所有实例均为C语言初学者所经常遇到。
- 2022-02-02 16:34:36下载
- 积分:1
-
leetcode的部分解法
应用背景leetcode是一个刷题的网站,里面的题目常被用于IT公司的求职面试。里面包含计算机的一些常见算法,和一些类似于计算机竞赛的题目。关键技术一些基本的算法,用于IT公司面试。部分题目的解法,包括常见的二叉树,二叉树查找,排序,数学,等等。难易程度不等。
- 2022-07-12 11:29:06下载
- 积分:1
-
遗传算法MATLB程序
有遗传算法的选择、交叉、变异函数,一些简单的MABTLAB遗传算法例子
- 2023-06-23 21:35:03下载
- 积分:1
-
数值计算中Jacobi迭代法的Matlab程序
数值计算中Jacobi迭代法的Matlab程序 -numerical calculation Jacobi iteration of the Matlab program
- 2022-10-09 22:10:03下载
- 积分:1
-
C++实现乘子法最优化算法
利用VC6.0开发的C++实现乘子法最优化算法,程序能够运行,并得到结果。乘子法是有约束最优化算法中相对比较好的一种算法,它与惩罚函数法相比,避免了出现病态矩阵的情况,使目标函数更加快速收敛,改程序实现了乘子法算法,对方程求解其最优化的解
- 2022-06-02 18:25:21下载
- 积分:1
-
基于C实现的采样复制的纹理图像修复方法_可去除遮罩物
资源描述CS7495 Final Project Sooraj Bhat
Object Removal by Exemplar-based Inpainting USING THE CODE
Everything was done in Matlab and MEX (i.e. a C function callable from
Matlab). First, the C code needs to be compiled. At the Matlab
prompt, type:
mex bestexemplarhelper.c
You should then be able to run the following (which takes ~2mins on my
2GHz Pentium 4 laptop with 256MB of RAM):
[i1,i2,i3,c,d,mov] = inpaint("bungee0.png","bungee1.png",[0 255 0]);
A smaller run (~25 seconds) would be:
[i1,i2,i3,c,d,mov] = inpaint("bw0.png","bw2.png",[0 255 0]);
To visualize:
plotall;
close; movie(mov);
SAMPLE IMAGES & RESULTS
*0.png The original images ("bw" and "bungee")
*{1,2}.png The different fill region masks.
*P2.png &nbs
- 2022-02-01 13:35:37下载
- 积分:1