]> Creatis software - CreaPhase.git/blob - octave_packages/ga-0.10.0/test_ga.m
Add a useful package (from Source forge) for octave
[CreaPhase.git] / octave_packages / ga-0.10.0 / test_ga.m
1 ## Copyright (C) 2012 Luca Favatella <slackydeb@gmail.com>
2 ##
3 ## This program is free software; you can redistribute it and/or modify
4 ## it under the terms of the GNU General Public License as published by
5 ## the Free Software Foundation; either version 2 of the License, or
6 ## (at your option) any later version.
7 ##
8 ## This program is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 ## GNU General Public License for more details.
12 ##
13 ## You should have received a copy of the GNU General Public License
14 ## along with this program; If not, see <http://www.gnu.org/licenses/>.
15
16 ## -*- texinfo -*-
17 ## @deftypefn{Script File} {} test_ga
18 ## Execute all available tests at once.
19 ## @end deftypefn
20
21 ## Author: Luca Favatella <slackydeb@gmail.com>
22 ## Created: March 2012
23 ## Version: 0.3
24
25 ## Creation
26 test gacreationuniform
27
28 ## Fitness Scaling
29 test fitscalingrank
30
31 ## Selection
32 test selectionstochunif
33
34 ## Crossover
35 test crossoverscattered
36
37 ## Mutation
38 test mutationgaussian
39
40 ## Utility
41 test rastriginsfcn
42
43 ## Genetic Algorithm
44 test gaoptimset
45 test ga
46
47 ## Private functions
48 test __ga_initial_population__
49 test __ga_problem_update_state_at_each_generation__