changeset 9885:80543b173d6d octave-forge

ga: delete doc/EXAMPLES
author slackydeb
date Mon, 26 Mar 2012 19:30:38 +0000
parents d6d84a54a72d
children 2112c90c2445
files main/ga/doc/EXAMPLES main/ga/doc/README
diffstat 2 files changed, 1 insertions(+), 36 deletions(-) [+]
line wrap: on
line diff
--- a/main/ga/doc/EXAMPLES	Mon Mar 26 19:29:55 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-This file could be outdated or incomplete. Please refer to tests in ga.m.
-
-If you add in this file an example not coming from ga.m, please mark
-it as "NOT COPIED FROM ga.m".
-
-
-
-########
-
-min = [-1, 2];
-ga (struct ("fitnessfcn", @(x) rastriginsfcn (x - min), "nvars", 2, "options", gaoptimset ("FitnessLimit", 1e-7, "Generations", 1000, "PopInitRange", [-5; 5], "PopulationSize", 200)))
-
-########
-
-ga (@(x) x ** 2, 1)
-
-########
-
-ga (@(x) (x ** 2) - (cos (2 * pi * x)) + 1, 1)
-
-########
-
-ga (@rastriginsfcn, 2)
-
-########
-
-ga (struct ("fitnessfcn", @rastriginsfcn, "nvars", 2, "options", gaoptimset ("FitnessLimit", 1e-7, "Generations", 1000)))
-
-########
-
-ga (struct ("fitnessfcn", @rastriginsfcn, "nvars", 2, "options", gaoptimset ("FitnessLimit", 1e-7, "PopulationSize", 200)))
-
-########
-
-ga (struct ("fitnessfcn", @(x) rastriginsfcn (x(1:2)) + ((x(3) ** 2) - (cos (2 * pi * x(3))) + 1) + (x(4) ** 2), "nvars", 4, "options", gaoptimset ("EliteCount", 5, "FitnessLimit", 1e-7, "PopInitRange", [-2; 2], "PopulationSize", 200)))
\ No newline at end of file
--- a/main/ga/doc/README	Mon Mar 26 19:29:55 2012 +0000
+++ b/main/ga/doc/README	Mon Mar 26 19:30:38 2012 +0000
@@ -1,6 +1,6 @@
 STATUS (BY EXAMPLES)
 
-See tests of the ga function or the EXAMPLES file.
+See tests of the ga function.
 
 
 TODO