搜索资源列表
jiandan0101
- 这是一个非常简单的遗传算法源代码,代码保证尽可能少,实际上也不必查错。对一特定的应用修正此代码,用户只需改变常数的定义并且定义“评价函数”即可。注意代码 的设计是求最大值,其中的目标函数只能取正值;且函数值和个体的适应值之间没有区别。该系统使用比率选择、精华模型、单点杂交和均匀变异。如果用 Gaussian变异替换均匀变异,可能得到更好的效果。代码没有任何图形,甚至也没有屏幕输出,主要是保证在平台之间的高可移植性。读者可以从ftp.uncc.edu, 目录 coe/evol中的文件prog.c中
最小费用最大流算法通用Matlab程序
- 基本思路:把各条弧上单位流量的费用看成某种长度,用Floyd求最短路的方法确定一条 % 自V1至Vn的最短路 再将这条最短路作为可扩充路,用求解最大流问题的方法将其上的流 % 量增至最大可能值 而这条最短路上的流量增加后,其上各条弧的单位流量的费用要重新 % 确定,如此多次迭代,最终得到最小费用最大流.,Basic ideas: to each arc on the unit cost of traffic as some length, with Floyd for the most shor
pso_2D
- 利用粒子群优化算法实现两个变量求最大值,很实用的一个matlab程序-Particle Swarm Optimization
matlab
- matlab环境下目标函数为求最大值,且解非负整数解 %bounds 边界约束 %Myfun 为目标函数 %num 初始种群数 %N 最大迭代次数 %CP 交叉概率 %P 突变概率 %f 目标最优解 %x 最优解向量-matlab environment for the sake of the objective function value, and the solution of non-negative integer solutions% bounds b
C150examples
- 求最大值,求根,求三角形面积等自编程序。-The Maximum, Root, triangle area, and other self seeking process.
sga
- 一个非常基础的求最大值的程序,适合初学者。-Maximum demand in a very basic program for beginners.
max
- 此程序用matlab完成了一个小功能,即完成对一个数据文件求最大值和索引!-This program completed with a small matlab function to complete the requirements for a data file and index the maximum!
MyHamming
- 模拟退火算法求函数 f(x)的最小值点, 且 l <= x <= u f为待求函数,x0为初值点,l,u分别为搜索区间的上下限,kmax为最大迭代次数 q为退火因子,TolFun为函数容许误差 算法第一步根据输入变量数,将某些量设为缺省值- Simulated annealing algorithm of a function f (x) the minimum point, and l < = x < = u f is the unknown fun
GAFMAX
- 简单的遗传算法求最大值的例子,只需按说明修改目标函数即可-Simple example of the maximum genetic algorithms
GA_example
- 遗传算法求最大值最小值问题的一些实例及其matlab实现。-Some examples of matlab genetic algorithms Maximum Minimum problem.
matlab
- 里卖含有很多函数,如求最大值,最小值函数,一范数和二范数相加的问题。-Being sold contain a lot of functions, such as seeking the maximum, minimum function, the sum of a norm and the two norm.
PSO
- 基于粒子群算法的函数求最大值的matlab程序,自己照书编写的-PSO algorithm based on the function of matlab procedures for the maximum, according to the book written their own
Fortran中求最大值、最小值、平均数、众数和分布
- Fortran中求最大值、最小值、平均数、众数和分布
chap10_1
- 二进制遗传算法 MATLAB 求最大值或最小值-genetic algorithm
GA
- 用MATLAB基于遗传算法求最大值,此实例可用于人工智能遗传算法参考实例-Genetic algorithms for the maximum
改进遗传算法求最大值程序
- matlab的改进遗传算法求最大值程序,main函数是主函数,其他3个是子函数。具体内容见代码注释(Matlab improved genetic algorithm for maximum value procedures, main function is the primary function, and the other 3 are sub functions. See the code for details)
新建 Microsoft Word 文档
- 运用蚁群算法求函数最值,采取蚁群迭代。根据函数求出最大值(Ant colony algorithm is used to find the function minimum)
4.遗传算法求解最优解最大值项目
- genmain05为运行程序,其余为功能函数,应该将这些文件都放在目录中, 才能正确执行genmain05。本程序可以实现遗传变异求函数最优解,最大值或最小值(Genetic algorithm for maximum value)
遗传算法求最大最小值
- 优化算法-遗传算法求最大最小值,包括全部的过程M文件(Optimization algorithm genetic algorithm for maximum and minimum)
针对二元函数在矩形区域内求最大值问题
- 针对二元函数在矩形区域内求最大值问题(遗传算法训练)(Aiming at the maximum value problem of two element function in rectangular area)
