//头文件: Genetic.hpp //目的: 为遗传算法提供基类,该基类将评价函数值直接作为适合度,采用 // 新个体直接替换老个体的整体再生法 //语言: VC++ 6.0 //时间: 1999年7月~2000年1月 //作…
individual 源代码
探索Individual技术的精髓,这里汇集了47个精选资源,涵盖从基础理论到高级应用的全方位知识。Individual技术以其独特性在个性化电子设计、定制化解决方案及智能系统开发中展现出卓越性能。无论是初学者还是资深工程师,都能在此找到提升技能、激发创新灵感的宝贵资料。立即访问…
//头文件: MLeader.hpp //目的: 多首领遗传算法类,本类用自定义小生境技术,总个体适合度 // 计算综合考虑个体适合度值以及个体间距离影响,即每代个体 // 总适合度按如下方式计算:设Fit(i)为原个体适合度,FitN…
%FEATSELI Individual feature selection for classification % % [W,R] = FEATSELI(A,CRIT,K,T) % % INPUT % A Training dataset …
function [validind,state]=heavydynnodes(ind,pop,params,state,data,parentindices) %HEAVYDYNNODES Applies heavy dynamic size fil…
function [validind,state]=heavydyndepth(ind,pop,params,state,data,parentindices) %HEAVYDYNDEPTH Applies heavy dynamic depth fi…
function [validind,state]=strictdepth(ind,pop,params,state,data,parentindices) %STRICTDEPTH Applies strict depth filters to a …
function newind=mutation(pop,state,i) %MUTATION Creates a new individual for GPLAB by mutation. % NEWIND=MUTATION(POPULATIO…
function [ind,lastid]=newind(varargin) %NEWIND Creates a new individual for the GPLAB algorithm. % NEWIND(LASTID,MAXLEVEL,O…
function [fitness,resultind,state]=calcfitness(ind,params,data,state) %CALCFITNESS Measures the fitness of a GPLAB individual.…
function [validind,state]=dynnodes(ind,pop,params,state,data,parentindices) %DYNNODES Applies dynamic size filters to a new GP…