Bump version numbers to 6.2.0
[scilab.git] / scilab / modules / optimization / demos / optimization.dem.gateway.sce
1 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 // Copyright (C) 2008 - INRIA
3 // Copyright (C) 2010-2011 - DIGITEO - Allan CORNET
4 //
5 // This file is released under the 3-clause BSD license. See COPYING-BSD.
6
7 function subdemolist = demo_gateway()
8
9     demopath = get_absolute_file_path("optimization.dem.gateway.sce");
10     _("Optimization and Simulation");  // lets gettext() harvesting it
11     add_demo("Optimization and Simulation", demopath+"optimization.dem.gateway.sce");
12
13     subdemolist = [
14     _("datafit: Nonlinear fitting"), "datafit/datafit.dem.gateway.sce"
15     _("Optimisation"),  "optim/optim.dem.gateway.sce"
16     _("fminsearch"),    "neldermead/neldermead.dem.gateway.sce"
17     _("ICSE"),          "icse/icse.dem.gateway.sce"
18     ];
19
20     subdemolist = [subdemolist; ..
21     _("Genetic algorithms"), "genetic/genetic_algorithms.dem.gateway.sce"];
22
23     if with_module("simulated_annealing") then
24         subdemolist = [subdemolist; ..
25         _("Simulated Annealing"), "annealing/simulated_annealing.dem.gateway.sce"];
26     end
27
28     subdemolist(:,2) = demopath + subdemolist(:,2);
29 endfunction
30
31 subdemolist = demo_gateway();
32 clear demo_gateway;