From: <sla...@us...> - 2012-03-19 00:33:53
|
Revision: 9956 http://octave.svn.sourceforge.net/octave/?rev=9956&view=rev Author: slackydeb Date: 2012-03-19 00:33:47 +0000 (Mon, 19 Mar 2012) Log Message: ----------- ga: add comments to ga unit tests Modified Paths: -------------- trunk/octave-forge/main/ga/inst/ga.m Modified: trunk/octave-forge/main/ga/inst/ga.m =================================================================== --- trunk/octave-forge/main/ga/inst/ga.m 2012-03-19 00:33:34 UTC (rev 9955) +++ trunk/octave-forge/main/ga/inst/ga.m 2012-03-19 00:33:47 UTC (rev 9956) @@ -130,6 +130,7 @@ ## type of arguments # TODO +## flawless execution with right arguments %!shared f, nvars %! f = @rastriginsfcn; %! nvars = 2; @@ -147,6 +148,7 @@ %!test x = ga (f, nvars, [], [], [], [], [], [], @(x) [[], []]); %!test x = ga (f, nvars, [], [], [], [], [], [], @nonlcon); %!test x = ga (f, nvars, [], [], [], [], [], [], @(x) [[], []], gaoptimset ()); +# TODO: %!test x = ga (problem); %!test x = ga (struct ("fitnessfcn", @rastriginsfcn, "nvars", 2, "options", gaoptimset ("FitnessLimit", 1e-7, "Generations", 1000))); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |