-
大小: 1KB文件类型: .m金币: 1下载: 0 次发布日期: 2021-06-03
- 语言: Matlab
- 标签:
资源简介
(matlab源程序代码)遗传算法工具箱\genetic\crtbase.m遗传算法工具箱\genetic\crtbase.m
代码片段和文件信息
% CRTbase.m - Create base vector
%
% This function creates a vector containing the base of the loci
% in a chromosome.
%
% Syntax: baseVec = crtbase(Lind base)
%
% Input Parameters:
%
% Lind - A scalar or vector containing the lengths
% of the alleles. Sum(Lind) is the length of
% the corresponding chromosome.
%
% base - A scalar or vector containing the base of
% the loci contained in the Alleles.
%
% Output Parameters:
%
% baseVec - A vector whose elements correspond to the base
% of the loci of the associated chromosome structure.
%
% Author: Andrew C
评论
共有 条评论