📄 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 + -