This directory contains the Genetic Algorithm Optimization Toolbox for Matlab 5. To use this, if you are local to NCSU and have AFS access to this directory, simply extend the matlab path using the following command. You can also place this command
本遗传算法由12个M文件组成,其中Genetic.m包含了主函数,其余文件均为包含子函数的文件,由主函数调用。下面对包含子函数的文件进行一一说明。 function Population = PopulationInitialize( MemberLength,MemberNumber ) 此函数返回一群二进制编码的初始染色体(MemberNumber* MemberLength的矩阵,不同的行代表不同的染色体),参数MemberNumber, MemberLength分别指定了染色体的数目和