?? contents.m
字號:
% Genetic Toolbox%============================================================%% Class constructors. % chrom/chrom - constructor for the chromosome class.% gen/gen - constructor for base class gen% ddv - constructor for discrete design variable% cdv - constructor for continuos design variable%% Data extraction.% chrom/set - sets properties of chromosome% chrom/get - gets properties of chromosome% gen/set - sets values of design variables% gen/get - gets values of design variables%% Overloaded operators and functions% chrom/ge - >= "greater or equal" % chrom/le - <= "less or equal" % chrom/gt - > "greater than" % chrom/lt - < "less than" % chrom/eq - == equal% chrom/find - find a chromosome% chrom/sort - sorts a vector of chromosomes% gen/ne - ~= Not equal % gen/eq - == Equal% gen/find - find a gene.%% Genetic tools%------------------------------------------------------------%% Genetic functions% convert - converts the "dna" to decimal.% gen/init - initiates a gene% chrom/init - initiates chromosomes % parents - parent selector.% children - UNDER CONSTRUCTION% probmut - probability of mutation.% mutate - mutates a chromosome% morph - transform one chromosome into another type.%% Statistic Tools% chrom/max - best member in population% chrom/min - worst member in population% chrom/mean - average value of population% chrom/median - median value % chrom/std - standard deviation% % Saving and plotting% chrom/plot - plots the generations% chrom/print - summary of generation.% logbook - logs the generations% save_chrom - saves chromosomes to file% load_chrom - loads chromosomes% load_mut - loads mutation information.%% Special operators % gen/plus - + overloaded operator % chrom/plus - + overloaded operator% % User interfaces% ui_gen - Continuous and discrete design variables. % ui_chrom - Constructs chromosomes% ui_gentool - UNDER CONSTRUCTION% ui_mutate - Sets the limits of mutation.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -