资 源 简 介
遗传算法的工具箱function [Chrom, Lind, BaseV] = crtbp(Nind, Lind, Base)nargs = nargin ;% Check parameter consistencyif nargs >= 1, [mN, nN] = size(Nind) ; endif nargs >= 2, [mL, nL] = size(Lind) ; endif nargs == 3, [mB, nB] = size(Base) ; endif nN == 2 if (nargs == 1) Lind = Nind(2) ; Nin