From: <sla...@us...> - 2012-03-13 17:55:37
|
Revision: 9863 http://octave.svn.sourceforge.net/octave/?rev=9863&view=rev Author: slackydeb Date: 2012-03-13 17:55:28 +0000 (Tue, 13 Mar 2012) Log Message: ----------- ga: add test_ga.m (execute all available tests at once) Added Paths: ----------- trunk/octave-forge/main/ga/inst/ga_test.m Added: trunk/octave-forge/main/ga/inst/ga_test.m =================================================================== --- trunk/octave-forge/main/ga/inst/ga_test.m (rev 0) +++ trunk/octave-forge/main/ga/inst/ga_test.m 2012-03-13 17:55:28 UTC (rev 9863) @@ -0,0 +1,49 @@ +## Copyright (C) 2012 Luca Favatella <sla...@gm...> +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; If not, see <http://www.gnu.org/licenses/>. + +## -*- texinfo -*- +## @deftypefn{Function File} {} ga_test +## Execute all available tests at once. +## @end deftypefn + +## Author: Luca Favatella <sla...@gm...> +## Created: March 2012 +## Version: 0.1 + +## Creation +test gacreationuniform + +## Fitness Scaling +test fitscalingrank + +## Selection +test selectionstochunif + +## Crossover +test crossoverscattered + +## Mutation +test mutationgaussian + +## Utility +test rastriginsfcn + +## Genetic Algorithm +test gaoptimset +test ga +## TODO: split performance tests + +## TODO: review all unit tests +## TODO: write missing unit tests, or write pre-function TODOs This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |