loadDimUn

PURPOSE ^

% function for loading dimension of available functions

SYNOPSIS ^

function dim=loadDim(funName)

DESCRIPTION ^

% function for loading dimension of available functions
 L. LAURENT --  15/12/2017 -- luc.laurent@lecnam.net

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %% function for loading dimension of available functions
0002 % L. LAURENT --  15/12/2017 -- luc.laurent@lecnam.net
0003 
0004 % sources available here:
0005 % https://bitbucket.org/luclaurent/optigtest/
0006 % https://github.com/luclaurent/optigtest/
0007 
0008 % optiGTest - set of testing functions    A toolbox to easy manipulate functions.
0009 % Copyright (C) 2017  Luc LAURENT <luc.laurent@lecnam.net>
0010 %
0011 % This program is free software: you can redistribute it and/or modify
0012 % it under the terms of the GNU General Public License as published by
0013 % the Free Software Foundation, either version 3 of the License, or
0014 % (at your option) any later version.
0015 %
0016 % This program is distributed in the hope that it will be useful,
0017 % but WITHOUT ANY WARRANTY; without even the implied warranty of
0018 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0019 % GNU General Public License for more details.
0020 %
0021 % You should have received a copy of the GNU General Public License
0022 % along with this program.  If not, see <http://www.gnu.org/licenses/>.
0023 
0024 function dim=loadDim(funName)
0025 listDim=struct(...
0026     'Ackley1',Inf,...
0027     'Ackley2',2,...
0028     'Ackley3',2,...
0029     'Ackley4',2,... %could be Inf
0030     'Adjiman',2,...
0031     'Alpine1',Inf,...
0032     'Alpine2',Inf,...
0033     'AHE',Inf,...
0034     'AMGM',Inf,...
0035     'BartelsConn',2,...
0036     'Beale',2,...
0037     'BiggsExp2',2,...
0038     'BiggsExp3',3,...
0039     'BiggsExp4',4,...
0040     'BiggsExp5',5,...
0041     'BiggsExp6',6,...
0042     'Bird',2,...
0043     'Bohachevsky1',2,...
0044     'Bohachevsky2',2,...
0045     'Bohachevsky3',2,...
0046     'Booth',2,...
0047     'BoxBetts',3,...
0048     'Brad',3,...
0049     'Branin1',2,...
0050     'Branin2',2,...
0051     'Brent',2,...
0052     'Brown',Inf,...
0053     'Bukin01',2,...
0054     'Bukin02',2,...
0055     'Bukin03',2,...
0056     'Bukin04',2,...
0057     'Bukin05',2,...
0058     'Bukin06',2,...
0059     'Bukin07',2,...
0060     'Bukin08',2,...
0061     'Bukin09',2,...
0062     'Bukin10',2,...
0063     'Bukin11',2,...
0064     'Bukin12',2,...
0065     'Bukin13',2,...
0066     'Bukin14',2,...
0067     'Bukin15',2,...
0068     'Bukin16',2,...
0069     'Bukin17',2,...
0070     'Bukin18',2,...
0071     'Bukin19',2,...
0072     'Bukin20',2,...
0073     'CamelbackThreeHump',2,...
0074     'CamelbackSixHump',2,...
0075     'CarromTable',2,...
0076     'ChenV',2,...
0077     'ChenBird',2,...
0078     'Chichinadze',2,...
0079     'ChungReynolds',Inf,...
0080     'Cigar',Inf,...
0081     'Cola',17,...
0082     'Colville',4,...
0083     'Corana',4,...
0084     'CosineMixture',Inf,...
0085     'CrossInTray',2,...
0086     'CrossLegTable',2,...
0087     'CrownedCross',2,...
0088     'Csendes',Inf,...
0089     'Cst',Inf,...
0090     'Cube',2,...
0091     'Custom01',1,...
0092     'Custom02',1,...
0093     'Custom03',1,...
0094     'Custom04',1,...
0095     'Custom05',1,...
0096     'Custom06',1,...
0097     'Custom07',1,...
0098     'Damavandi',2,...
0099     'Deb1',Inf,...
0100     'Deb2',Inf,...
0101     'Deb3',Inf,...
0102     'Deb4',Inf,...
0103     'Decanomial',2,...
0104     'Deceptive',Inf,...
0105     'DeckkersAarts',2,...
0106     'DeflectedCorrugatedSpring',Inf,...
0107     'DeVilliersGlasser1',4,...
0108     'DeVilliersGlasser2',5,...
0109     'DixonPrice',Inf,...
0110     'Dolan',5,...
0111     'DropWave',Inf,...
0112     'Easom',2,...
0113     'ElAttarVidyasogarDutta',2,...
0114     'EggCrate',2,...
0115     'EggHolder',Inf,...
0116     'Exponential',Inf,...
0117     'EX1',2,...
0118     'Exp2',2,...
0119     'Exp3',3,...
0120     'Exp4',4,...
0121     'Exp5',5,...
0122     'Exp6',6,...
0123     'FreudensteinRoth',2,...
0124     'Gear',4,...
0125     'Giunta',Inf,...
0126     'GoldsteinPrice',2,...
0127     'Griewank',Inf,...
0128     'GulfResearch',3,...
0129     'Hansen',2,...
0130     'Hartmann3',3,...
0131     'Hartmann6',6,...
0132     'HelicalValley',3,...
0133     'Himmelblau',2,...
0134     'Holzman',3,...
0135     'Hosaki',2,...
0136     'Infiniti',Inf,...
0137     'JennrichSampson',2,...
0138     'Judge',2,...
0139     'Katsuura',Inf,...
0140     'Keane',2,...
0141     'Kowalik',4,...
0142     'Langermann52',2,...
0143     'Langermann5',Inf,... %'LennardJones',Inf,...
0144     'Leon',2,...
0145     'Levy03',Inf,...
0146     'Levy05',2,...
0147     'Levy13',2,...
0148     'Matyas',2,...
0149     'McCormick',2,...
0150     'Michalewicz',Inf,...
0151     'MieleCantrell',4,...
0152     'Mishra01',Inf,...
0153     'Mishra02',Inf,...
0154     'Mishra03',2,...
0155     'Mishra04',2,...
0156     'Mishra05',2,...
0157     'Mishra06',2,...
0158     'Mishra07',Inf,...
0159     'Mishra08',2,...
0160     'Mishra09',3,...
0161     'Mishra10',2,...
0162     'Mishra11',Inf,...
0163     'Mystery',2,...
0164     'NeedleEye',Inf,...
0165     'NewFunction1',2,...
0166     'NewFunction2',2,...
0167     'NewFunction3',2,...
0168     'Null',Inf,...
0169     'OddSquare',1:20,...
0170     'Parsopoulos',2,...
0171     'Pathological',Inf,...
0172     'Paviani',10,...
0173     'Peaks',2,...
0174     'PeaksN',2,...
0175     'Penalty1',Inf,...
0176     'Penalty2',Inf,...
0177     'PenHolder',2,...
0178     'Periodic',2,...
0179     'Pinter',Inf,...
0180     'Plateau',Inf,...
0181     'Powell',4,...
0182     'PowerSum',4,...
0183     'Price1',2,...
0184     'Price2',2,...
0185     'Price3',2,...
0186     'Price4',2,...
0187     'Qing',Inf,...
0188     'Quadratic',2,...
0189     'Quartic',Inf,...
0190     'Quintic',Inf,... %'Rana',Inf,...
0191     'Rastrigin',Inf,...
0192     'RHE',Inf,...
0193     'Ripple01',2,...
0194     'Ripple25',2,...
0195     'Rosenbrock',Inf,...
0196     'RosenbrockM',2,...
0197     'RosenbrockMS',Inf,...
0198     'RotatedEllipse1',2,...
0199     'RotatedEllipse2',2,...
0200     'Rump',2,...
0201     'Salomon',Inf,...
0202     'Sargan',Inf,...
0203     'Schaffer1',2,...
0204     'Schaffer2',2,...
0205     'Schaffer3',2,...
0206     'Schaffer4',2,...
0207     'Schaffer6',Inf,...
0208     'SchmidtVetters',3,...
0209     'Schwefel01',Inf,...
0210     'Schwefel02',Inf,...
0211     'Schwefel04',Inf,...
0212     'Schwefel06',2,...
0213     'Schwefel20',Inf,...
0214     'Schwefel21',Inf,...
0215     'Schwefel22',Inf,...
0216     'Schwefel23',Inf,...
0217     'Schwefel25',Inf,...
0218     'Schwefel26',Inf,...
0219     'Schwefel36',2,...
0220     'Shekel05',4,...
0221     'Shekel07',4,...
0222     'Shekel10',4,...
0223     'Shubert1',2,...
0224     'Shubert3',Inf,...
0225     'Shubert4',Inf,...
0226     'SineEnveloppe',Inf,...
0227     'Sodp',Inf,...
0228     'Slope',Inf,...
0229     'Sphere',Inf,...
0230     'Step',Inf,...
0231     'Step1',Inf,...
0232     'Step2',Inf,...
0233     'Step3',Inf,...
0234     'StepInt',Inf,...
0235     'Stochastic',Inf,...
0236     'StretchedV',Inf,...
0237     'StyblinskiTang',Inf,...
0238     'SumSquare',4,...
0239     'Treccani',2,...
0240     'Trefethen',2,...
0241     'Trid',6,...
0242     'Trigonometric1',Inf,...
0243     'Trigonometric2',Inf,...
0244     'Tripod',2,...
0245     'TubeHolder',2,...
0246     'Ursem1',2,...
0247     'Ursem3',2,...
0248     'Ursem4',2,...
0249     'UrsemWaves',2,...
0250     'VenterSobiezcczanskiSobieski',2,...
0251     'Vincent',Inf,...
0252     'Watson',6,...
0253     'Wavy',Inf,...
0254     'WayburnSeader1',2,...
0255     'WayburnSeader2',2,...
0256     'Weibull',3,...
0257     'Weierstrass',Inf,...
0258     'Whitley',Inf,...
0259     'Wolfe',3,...
0260     'XinSheYang1',Inf,...
0261     'XinSheYang2',Inf,...
0262     'XinSheYang3',Inf,...
0263     'XinSheYang4',Inf,...
0264     'Xor',9,...
0265     'YaoLiu4',Inf,...
0266     'YaoLiu9',Inf,...
0267     'Zacharov',Inf,...%'ZeroSum',Inf,...
0268     'Zettl',2,...
0269     'Zimmerman',2,...
0270     'Zirilli',2);
0271 if nargin==1
0272     dim=listDim.(funName);
0273 else
0274     dim=listDim;
0275 end
0276 end

Generated on Tue 28-May-2019 16:00:34 by m2html © 2005