From: <sla...@us...> - 2012-03-26 19:30:44
|
Revision: 10071 http://octave.svn.sourceforge.net/octave/?rev=10071&view=rev Author: slackydeb Date: 2012-03-26 19:30:38 +0000 (Mon, 26 Mar 2012) Log Message: ----------- ga: delete doc/EXAMPLES Modified Paths: -------------- trunk/octave-forge/main/ga/doc/README Removed Paths: ------------- trunk/octave-forge/main/ga/doc/EXAMPLES Deleted: trunk/octave-forge/main/ga/doc/EXAMPLES =================================================================== --- trunk/octave-forge/main/ga/doc/EXAMPLES 2012-03-26 19:29:55 UTC (rev 10070) +++ trunk/octave-forge/main/ga/doc/EXAMPLES 2012-03-26 19:30:38 UTC (rev 10071) @@ -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 Modified: trunk/octave-forge/main/ga/doc/README =================================================================== --- trunk/octave-forge/main/ga/doc/README 2012-03-26 19:29:55 UTC (rev 10070) +++ trunk/octave-forge/main/ga/doc/README 2012-03-26 19:30:38 UTC (rev 10071) @@ -1,6 +1,6 @@ STATUS (BY EXAMPLES) -See tests of the ga function or the EXAMPLES file. +See tests of the ga function. TODO This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |