搜索资源列表
遗传算法c++程序
- 首先采用某种编码方式将解空间映射到编码空间,每个编码对应问题的一个解,称为染色体或个体。一般通过随机方法确定起始的一群个体,称为种群,在种群中根据适应值或某种竞争机制选择个体,使用各种遗传操作算子产生下一代如此进化下去,直到满足期望的终止条件。-begin using some form of coding mapping to the solution space coding space, each encoding a corresponding solution to the probl
改进遗传算法-郭涛算法做最优化问题很管用
- 改进遗传算法-郭涛算法做最优化问题很管用,算法的基本思想是 先任意产生n个随机数,然后从n个数里随机选择m个数,再有这m个 数合成一个新数,将这个新数同n个数中间适应值函数值的最差的比较, 如果好的话就取代最差的那个,如果它比最好的还要好的话,则把最好的 也取代。如果比最差的坏,则重新合成一个新数。依次循环下去。 程序的奇妙之处是GA_crossover()函数,产生的新数确实比较好,看看 那位大侠能改进一下,产生比这跟好的数。-improved genetic algo
改进的遗传算法
- vb写的改进的遗传算法程序。是一些通用代码,与具体问题对应的代码空出来,用的时候填进去。根据我的经验,要想用好遗传算法,代码必须自己写,因为问题不同,编码,杂交,变异算子可能都不一样。特别是杂交算子,需要根据问题调整,甚至创造出新的杂交方法。而且适应度计算的代码也需要自己写,特别是带约束的优化问题 -vb write improvement in the genetic algorithm. Some common code, with the specific issues the corre
SGALAB1003beta3withdoc
- run the SGALAB_MO_VEGA_demo.m in command windows. to get beta3 version here: http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=5882 What s new: 1)fixed a critical bug in selection operation 2)update the 13 c
immunity
- 提供一个人工免疫算法源程序,其算法过程包括: 1.设置各参数 2.随机产生初始群体——pop=initpop(popsize,chromlength) 3.故障类型编码,每一行为一种!code(1,:),正常;code(2,:),50%;code(3,:),150%。实际故障测得数据编码,这里Unnoralcode,188% 4.开始迭代(M次): 1)计算目标函数值:欧氏距离[objvalue]=calobjvalue(pop,i) 2)计算群体中
an_intruction_of_a_simple_genetic_algorithm
- This a simple genetic algorithm implementation where the evaluation function takes positive values only and the fitness of an individual is the same as the value of the objective function -This a simple genetic algorithm impleme 'where
GA_suanfa
- 基因算法(GA) GA 是一种启发式的优化法 (heuristic optimization method), 它是通过既定的随机搜索进行操作.优化问题的可能的解的集合被认为是 个体(individuals)组成的 人群(population). 一个个体对它的环境的适应程度由它的 健康度(fitness)表示. -genetic algorithm (GA) GA is a heuristic optimization method (heuristic optimi method. 5)
GA568
- 为遗传算法提供基类,该基类将评价函数值直接作为适合度,采用新个体直接替换老个体的整体再生法 -genetic algorithm to provide the base class, the base class will be evaluated as a direct function of fitness, Individual direct new replacing the old individual's overall regeneration
gsl-1.8.tar
- This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -This library is distributed in the hope tha t it will be useful,
fitness
- fitness,适应度函数,计算适应度函数,-fitness, fitness function, calculate the fitness function,
salesman-fitness
- Matlab中路径优化程序,销售员模式,最佳路径优化-Medium Matlab path optimization procedures, sales model, the best path optimization
fitnessfunction
- 线性二次最优控制加权阵遗传算法优化适应度函数m文件;模糊控制器量化比例因子遗传算法优化适应度函数m文件-Linear quadratic optimal control weighted array genetic algorithm fitness function m documents quantization scale factor of fuzzy controller optimized by GA fitness function m file
FDRPSO
- code for fitness distance ratio PSO
GA_main
- 遗传算法整套源程序,包括初始种群,计算适应度值,选择,交叉变异等-Genetic algorithm source code package, including the initial population, calculation of fitness value, selection, crossover and other variant
YTY_GA_Final
- To find the largest fitness value and its location 寻找最大适应性及相应的位置!Population N=50;crossover bits=n/2 (half of bits of an individual) with random locations,mutation bits = 4 种群数 N=50,交换位数= n/2, 即个体位数的一半,且位置随机; 变异位数统一取为4; Nc=20,28,36,44,
fitness
- 适应值的选取是一个重要的运算过程,我们应该选择合适的适应值函数,这样才能够很好的选择最佳的变量值-Fitness selection process is an important operation that we should select the appropriate fitness function, so that it can be a good choice of the best value of the variable
fitness
- for ai to make combine with par. s. optimization and artificial neural network and this is a good way to make the fitness of it
fitness
- this the program for calculating fitness function
general PSO
- 基础的PSO代码,可直接加入fitness函数就最优解,接口简单
fitness
- 基于遗传算法的适应函数MATLAB程序,可以直接使用-Based on genetic algorithm fitness function MATLAB program can be used directly