forked from sumatrae/gatbx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contents.M
53 lines (53 loc) · 1.74 KB
/
contents.M
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
% Genetic Algorithm Toolbox.
% Version 1.3 17-Jan-2003
% Department of Automatic Control and Systems Engineering
% University of Sheffield, England
%
% Creating populations
% crtbase - create a base vector
% crtbp - create a binary population
% crtrp - create a real-valued population
%
% Fitness assignment
% ranking - rank-based fitness assignment
% scaling - proportional fitness-scaling
%
% Selection and reinsertion
% reins - uniform random and fitness-based reinsertion
% rws - roulette wheel selection
% select - high-level selection routine
% sus - stochastic universal sampling
%
% Mutation operators
% mut - discrete mutation
% mutate - high-level mutation function
% mutbga - real-value mutation
%
% Crossover operators
% recdis - discrete recombination
% recint - intermediate recombination
% reclin - line recombination
% recmut - line recombination with mutation features
% recombin - high-level recombination function
% xovdp - double-point crossover
% xovdprs - double-point reduced surrogate crossover
% xovmp - general multi-point crossover
% xovsh - shuffle crossover
% xovshrs - shuffle reduced surrogate crossover
% xovsp - single-point crossover
% xovsprs - single-point reduced surrogate crossover
%
% Subpopulation support
% migrate - exchange individuals between subpopulations
%
%
% Utility functions
% bs2rv - binary string to real-value conversion
% rep - matrix replication
%
% Demonstration and other functions
% mpga - multi-population genetic algorithm demonstration
% objfun1 - De Jongs first test function (used by sga)
% objharv - harvest function (used in mpga)
% resplot - result plotting (used in mpga)
% sga - simple genetic algorithm demonstration