遗传算法的经典代码

源代码在线查看: maxgente.m

软件大小: 3752 K
上传用户: As
关键词: 算法 代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				function [done] = maxGenTerm(ops,bPop,endPop)
				% function [done] = maxGenTerm(ops,bPop,endPop)
				% ops    - a vector of options [current_gen maximum_generation]
				% bPop   - a matrix of best solutions [generation_found solution_string]
				% endPop - the current generation of solutions
				currentGen = ops(1);
				maxGen     = ops(2);
				done       = currentGen >= maxGen; 			

相关资源