loadSpaceUn

PURPOSE ^

% function for loading design space of available functions

SYNOPSIS ^

function [xMin,xMax]=loadSpaceUn(funName,dim)

DESCRIPTION ^

% function for loading design space 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 design space 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 [xMin,xMax]=loadSpaceUn(funName,dim)
0025 listSpace=struct(...
0026     'Ackley1',[-35;35],...
0027     'Ackley2',[-32;32],...
0028     'Ackley3',[-32;32],...
0029     'Ackley4',[-35;35],...
0030     'Adjiman',[-1 -1;2 1],...
0031     'Alpine1',[-10;10],...
0032     'Alpine2',[0;10],...
0033     'AHE',[-5.12;5.12],...
0034     'AMGM',[0;10],...
0035     'BartelsConn',[-500;500],...
0036     'Beale',[-4.5;4.5],...
0037     'BiggsExp2',[0;20],...
0038     'BiggsExp3',[0;20],...
0039     'BiggsExp4',[0;20],...
0040     'BiggsExp5',[0;20],...
0041     'BiggsExp6',[0;20],...
0042     'Bird',2*pi*[-1;1],...
0043     'Bohachevsky1',100*[-1;1],...
0044     'Bohachevsky2',100*[-1;1],...
0045     'Bohachevsky3',100*[-1;1],...
0046     'Booth',10*[-1;1],...
0047     'BoxBetts',[0.9,0.9,9;1.2,1.2,11.2],...
0048     'Brad',[-0.25 0.01 0.01;0.25 2.5 2.5],...
0049     'Branin1',[-5,0;10,15],...
0050     'Branin2',[-5;15],...
0051     'Brent',10*[-1;1],...
0052     'Brown',[-1;4],...
0053     'Bukin01',[-5 -5;5 5],...
0054     'Bukin02',[-15 -3;-5 3],...
0055     'Bukin03',[-5 -5;5 5],...
0056     'Bukin04',[-15 -5;5 5],...
0057     'Bukin05',[-15 -5;5 5],...
0058     'Bukin06',[-5 -5;5 5],...
0059     'Bukin07',[-5 -5;150 5],...
0060     'Bukin08',[-25 -25;0 0],...
0061     'Bukin09',[-10 -5;5 5],...
0062     'Bukin10',[-10 -10;0 0],...
0063     'Bukin11',[-10 -10;0 0],...
0064     'Bukin12',[-10 -10;0 0],...
0065     'Bukin13',[-5 -5;5 5],...
0066     'Bukin14',[-15 -5;5 5],...
0067     'Bukin15',[-30 -200;15 100],...
0068     'Bukin16',[-40 -40;40 40],...
0069     'Bukin17',[-40 -40;40 40],...
0070     'Bukin18',[-10 -150;10 10],...
0071     'Bukin19',[-30 -30;30 150],...
0072     'Bukin20',[-5 -5;5 5],...
0073     'CamelbackThreeHump',[-5 -5;5 5],...%[-2.5 -3;2.5 3]
0074     'CamelbackSixHump',[-3 -2;3 2],...%[-2 -1;2 1]
0075     'CarromTable',10*[-1;1],...
0076     'ChenV',[-500;500],...
0077     'ChenBird',[-500;500],...
0078     'Chichinadze',[-30;30],...
0079     'ChungReynolds',[-100;100],...
0080     'Cigar',100*[-1;1],...
0081     'Cola',[0,-4*ones(1,16);4*ones(1,17)],...
0082     'Colville',[-10;10],...
0083     'Corana',[-500;500],...
0084     'CosineMixture',[-1;1],...
0085     'CrossInTray',[-10;10],...
0086     'CrossLegTable',10*[-1;1],...
0087     'CrownedCross',10*[-1;1],...
0088     'Csendes',[-1;1],...
0089     'Cst',10*[-1;1],...
0090     'Cube',[-10;10],...
0091     'Custom01',[-1;15],...
0092     'Custom02',[-1;15],...
0093     'Custom03',[-1;15],...
0094     'Custom04',[-1;15],...
0095     'Custom05',[-1;15],...
0096     'Custom06',[-1;15],...
0097     'Custom07',[0;10],...
0098     'Damavandi',[0;14],...
0099     'Deb1',[-1;1],...
0100     'Deb2',[-1;1],...
0101     'Deb3',[0;1],...
0102     'Deb4',[0;1],...
0103     'Decanomial',10*[-1;1],...
0104     'Deceptive',[0;1],...
0105     'DeckkersAarts',[-20;20],...
0106     'DeflectedCorrugatedSpring',[0;10],...
0107     'DeVilliersGlasser1',[1;100],... %[-500;500],...
0108     'DeVilliersGlasser2',[1;60],... %[-500;500],...
0109     'DixonPrice',[-10;10],...
0110     'Dolan',[-10;10],...
0111     'DropWave',5.12*[-1;1],...
0112     'Easom',[-100;100],...
0113     'ElAttarVidyasogarDutta',[-500;500],...
0114     'EggCrate',[-5;5],...
0115     'EggHolder',[-512;512],...
0116     'Exponential',[-1;1],...
0117     'EX1',[0;12],...
0118     'Exp2',[0;20],...
0119     'Exp3',[0;20],...
0120     'Exp4',[0;20],...
0121     'Exp5',[0;20],...
0122     'Exp6',[0;20],...
0123     'FreudensteinRoth',[-10;10],...
0124     'Gear',[12;60],...
0125     'Giunta',[-1;1],...
0126     'GoldsteinPrice',[-2;2],...
0127     'Griewank',[-100;100],...
0128     'GulfResearch',[0;60],...
0129     'Hansen',[-10;10],...
0130     'Hartmann3',[0;1],...
0131     'Hartmann6',[0;1],...
0132     'HelicalValley',[-10;10],...
0133     'Himmelblau',[-5;5],...
0134     'Holzman',[0 0 0;100 25.6 5],...
0135     'Hosaki',[0;5],...
0136     'Infiniti',[-1;1],...
0137     'JennrichSampson',[-1;1],...[-1;0.4]
0138     'Judge',2*[-1;1],...
0139     'Katsuura',[0;100],...
0140     'Kowalik',5*[-1;1],...
0141     'Langermann52',[-5;10],...
0142     'Langermann5',[-5;10],...
0143     'Keane',[0;10],...
0144     'Leon',[-1.2;1.2],...
0145     'Levy03',10*[-1;1],... %5
0146     'Levy05',10*[-1;1],... %2
0147     'Levy13',10*[-1;1],... %5
0148     'Matyas',[-10;10],...
0149     'McCormick',[-1.5,-3;4,3],...
0150     'Michalewicz',pi*[0;1],...
0151     'MieleCantrell',[-1;1],...
0152     'Mishra01',[0;1],...
0153     'Mishra02',[0;1],...
0154     'Mishra03',[-10;10],...
0155     'Mishra04',[-10;10],...
0156     'Mishra05',[-10;10],...
0157     'Mishra06',[-10;10],...
0158     'Mishra07',[-10;10],...
0159     'Mishra08',[-10;10],...
0160     'Mishra09',[-10;10],...
0161     'Mishra10',[-10;10],...
0162     'Mishra11',[-10;10],...
0163     'Mystery',5*[0;1],...
0164     'NeedleEye',10*[-1;1],...
0165     'NewFunction1',10*[-1;1],...
0166     'NewFunction2',10*[-1;1],...
0167     'NewFunction3',10*[-1;1],...
0168     'Null',10*[-1;1],...
0169     'OddSquare',5*pi*[-1;1],... %5pi
0170     'Parsopoulos',[-5;5],...
0171     'Pathological',100*[-1;1],...
0172     'PenHolder',[-11;11],...
0173     'Paviani',[2.0001;10],...
0174     'Peaks',3*[-1;1],...
0175     'PeaksN',[-1;1],...
0176     'Penalty1',4*[-1;1],...%4
0177     'Penalty2',4*[-1;1],...%4
0178     'Periodic',10*[-1;1],...
0179     'Pinter',10*[-1;1],...
0180     'Plateau',5.12*[-1;1],...
0181     'Price1',500*[-1;1],...
0182     'Price2',[-10;10],...
0183     'Price3',500*[-1;1],...
0184     'Price4',500*[-1;1],...
0185     'Powell',[-4;5],...
0186     'PowerSum',[0;4],...
0187     'Qing',500*[-1;1],...
0188     'Quadratic',[-10;10],...
0189     'Quartic',[-1.28;1.28],...
0190     'Quintic',[-10;10],...
0191     'Rana',[-500;500],...
0192     'Rastrigin',[-5.12;5.12],...
0193     'RHE',[-65.536;65.536],...
0194     'Ripple01',[0;1],...
0195     'Ripple25',[0;1],...
0196     'Rosenbrock',[-30;30],...
0197     'RosenbrockM',[-2;2],...
0198     'RosenbrockMS',[-2.048;2.048],...
0199     'RotatedEllipse1',[-500;500],...
0200     'RotatedEllipse2',[-500;500],...
0201     'Rump',[-500;500],...
0202     'Salomon',100*[-1;1],...
0203     'Sargan',100*[-1;1],...
0204     'Schaffer1',10*[-1;1],...
0205     'Schaffer2',10*[-1;1],...
0206     'Schaffer3',10*[-1;1],...
0207     'Schaffer4',10*[-1;1],...
0208     'Schaffer6',10*[-1;1],...
0209     'SchmidtVetters',[0;10],...
0210     'Schwefel01',100*[-1;1],...
0211     'Schwefel02',100*[-1;1],...
0212     'Schwefel04',[0;10],...
0213     'Schwefel06',100*[-1;1],...
0214     'Schwefel20',100*[-1;1],...
0215     'Schwefel21',100*[-1;1],...
0216     'Schwefel22',100*[-1;1],...
0217     'Schwefel23',10*[-1;1],...
0218     'Schwefel25',[-10;10],...
0219     'Schwefel26',500*[-1;1],...
0220     'Schwefel36',[0;500],...
0221     'Shekel05',[0;10],...
0222     'Shekel07',[0;10],...
0223     'Shekel10',[0;10],...
0224     'Shubert1',10*[-1;1],...
0225     'Shubert3',10*[-1;1],...
0226     'Shubert4',10*[-1;1],...
0227     'SineEnveloppe',20*[-1;1],...
0228     'Slope',[-1;1],...
0229     'Sodp',[-1;1],...
0230     'Sphere',[-1;1],...
0231     'Step',5*[-1;1],...
0232     'Step1',5*[-1;1],...
0233     'Step2',5*[-1;1],...
0234     'Step3',5*[-1;1],...
0235     'StepInt',5*[-1;1],...
0236     'Stochastic',5*[-1;1],...
0237     'StretchedV',100*[-1;1],...
0238     'StyblinskiTang',5*[-1;1],...
0239     'SumSquare',10*[-1;1],...
0240     'Treccani',10*[-1;1],...
0241     'Trefethen',10*[-1;1],...
0242     'Trid',20*[-1;1],...
0243     'Trigonometric1',[0;pi],...
0244     'Trigonometric2',500*[-1;1],... %[0;2],...
0245     'Tripod',100*[-1;1],...
0246     'TubeHolder',5*[-1;1],...
0247     'Ursem1',[-2.5 -2;2 2],...
0248     'Ursem3',[-2 -1.5;2 1.5],...
0249     'Ursem4',[-2;2],...
0250     'UrsemWaves',[-0.9 -1.2;1.2 1.2],...
0251     'VenterSobiezcczanskiSobieski',50*[-1;1],...
0252     'Vincent',[0.25;10],...
0253     'Watson',5*[-1;1],...
0254     'Wavy',pi*[-1;1],...
0255     'WayburnSeader1',5*[-1;1],...
0256     'WayburnSeader2',500*[-1;1],...
0257     'Weierstrass',1/2*[-1;1],...
0258     'Weibull',100*[-1;1],...
0259     'Whitley',2*[-1;1],...
0260     'Wolfe',[0;2],...
0261     'XinSheYang1',5*[-1;1],...
0262     'XinSheYang2',2*pi*[-1;1],...
0263     'XinSheYang3',20*[-1;1],...
0264     'XinSheYang4',10*[-1;1],...
0265     'Xor',9*[-1;1],...
0266     'YaoLiu4',10*[-1;1],...
0267     'YaoLiu9',5.12*[-1;1],...
0268     'Zacharov',[-5;10],...
0269     'ZeroSum',10*[-1;1],...
0270     'Zettl',[-1;5],...
0271     'Zimmerman',[0;100],...
0272     'Zirilli',10*[-1;1]);
0273 
0274 
0275 spaceL=listSpace.(funName);
0276 if size(spaceL,2)==1
0277     if numel(dim)>1||any(isnan(dim))||any(isinf(dim))
0278         xMin=spaceL(1);
0279         xMax=spaceL(2);
0280     else
0281         xMin=ones(1,dim)*spaceL(1);
0282         xMax=ones(1,dim)*spaceL(2);
0283     end
0284 else
0285     xMin=spaceL(1,:);
0286     xMax=spaceL(2,:);
0287 end
0288 end

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