Permalink
Browse files

Added CEC2005Functions

Added the CEC2005 benchmark to be dynamically called
Added BLX-A
Modified NdimFunctionRandomInitializer and Mutation
  • Loading branch information...
fergunet committed Nov 18, 2014
1 parent 7e49dc4 commit b8ef318989e404e98b306b2d05235787a8b8976e
Showing with 11,406 additions and 23 deletions.
  1. +1 −0 OsgiliathFunctionsProblems/.classpath
  2. +12 −1 OsgiliathFunctionsProblems/META-INF/MANIFEST.MF
  3. +2 −2 OsgiliathFunctionsProblems/OSGI-INF/FitnessCalculator.xml
  4. +4 −3 OsgiliathFunctionsProblems/OSGI-INF/Initializer.xml
  5. +4 −5 OsgiliathFunctionsProblems/OSGI-INF/Mutation.xml
  6. +4 −3 OsgiliathFunctionsProblems/build.properties
  7. +550 −0 OsgiliathFunctionsProblems/src/cec05/00-tests.txt
  8. +92 −0 OsgiliathFunctionsProblems/src/cec05/F01_shifted_sphere.java
  9. +92 −0 OsgiliathFunctionsProblems/src/cec05/F02_shifted_schwefel.java
  10. +110 −0 OsgiliathFunctionsProblems/src/cec05/F03_shifted_rotated_high_cond_elliptic.java
  11. +96 −0 OsgiliathFunctionsProblems/src/cec05/F04_shifted_schwefel_noise.java
  12. +116 −0 OsgiliathFunctionsProblems/src/cec05/F05_schwefel_global_opt_bound.java
  13. +99 −0 OsgiliathFunctionsProblems/src/cec05/F06_shifted_rosenbrock.java
  14. +103 −0 OsgiliathFunctionsProblems/src/cec05/F07_shifted_rotated_griewank.java
  15. +107 −0 OsgiliathFunctionsProblems/src/cec05/F08_shifted_rotated_ackley_global_opt_bound.java
  16. +93 −0 OsgiliathFunctionsProblems/src/cec05/F09_shifted_rastrigin.java
  17. +103 −0 OsgiliathFunctionsProblems/src/cec05/F10_shifted_rotated_rastrigin.java
  18. +108 −0 OsgiliathFunctionsProblems/src/cec05/F11_shifted_rotated_weierstrass.java
  19. +124 −0 OsgiliathFunctionsProblems/src/cec05/F12_schwefel.java
  20. +99 −0 OsgiliathFunctionsProblems/src/cec05/F13_shifted_expanded_griewank_rosenbrock.java
  21. +103 −0 OsgiliathFunctionsProblems/src/cec05/F14_shifted_rotated_expanded_scaffer.java
  22. +188 −0 OsgiliathFunctionsProblems/src/cec05/F15_hybrid_composition_1.java
  23. +181 −0 OsgiliathFunctionsProblems/src/cec05/F16_rotated_hybrid_composition_1.java
  24. +185 −0 OsgiliathFunctionsProblems/src/cec05/F17_rotated_hybrid_composition_1_noise.java
  25. +183 −0 OsgiliathFunctionsProblems/src/cec05/F18_rotated_hybrid_composition_2.java
  26. +183 −0 OsgiliathFunctionsProblems/src/cec05/F19_rotated_hybrid_composition_2_narrow_basin_global_opt.java
  27. +186 −0 OsgiliathFunctionsProblems/src/cec05/F20_rotated_hybrid_composition_2_global_opt_bound.java
  28. +180 −0 OsgiliathFunctionsProblems/src/cec05/F21_rotated_hybrid_composition_3.java
  29. +180 −0 OsgiliathFunctionsProblems/src/cec05/F22_rotated_hybrid_composition_3_high_cond_num_matrix.java
  30. +184 −0 OsgiliathFunctionsProblems/src/cec05/F23_noncontinuous_rotated_hybrid_composition_3.java
  31. +193 −0 OsgiliathFunctionsProblems/src/cec05/F24_rotated_hybrid_composition_4.java
  32. +191 −0 OsgiliathFunctionsProblems/src/cec05/F25_rotated_hybrid_composition_4_bound.java
  33. +82 −0 OsgiliathFunctionsProblems/src/cec05/HCJob.java
  34. +68 −0 OsgiliathFunctionsProblems/src/cec05/README.txt
  35. +726 −0 OsgiliathFunctionsProblems/src/cec05/benchmark.java
  36. +1 −0 OsgiliathFunctionsProblems/src/cec05/supportData/EF8F2_func_data.txt
  37. +10 −0 OsgiliathFunctionsProblems/src/cec05/supportData/E_ScafferF6_M_D10.txt
  38. +2 −0 OsgiliathFunctionsProblems/src/cec05/supportData/E_ScafferF6_M_D2.txt
  39. +30 −0 OsgiliathFunctionsProblems/src/cec05/supportData/E_ScafferF6_M_D30.txt
  40. +50 −0 OsgiliathFunctionsProblems/src/cec05/supportData/E_ScafferF6_M_D50.txt
  41. +1 −0 OsgiliathFunctionsProblems/src/cec05/supportData/E_ScafferF6_func_data.txt
  42. +10 −0 OsgiliathFunctionsProblems/src/cec05/supportData/Elliptic_M_D10.txt
  43. +2 −0 OsgiliathFunctionsProblems/src/cec05/supportData/Elliptic_M_D2.txt
  44. +30 −0 OsgiliathFunctionsProblems/src/cec05/supportData/Elliptic_M_D30.txt
  45. +50 −0 OsgiliathFunctionsProblems/src/cec05/supportData/Elliptic_M_D50.txt
  46. +117 −0 OsgiliathFunctionsProblems/src/cec05/supportData/Files List and some explaination.txt
  47. +10 −0 OsgiliathFunctionsProblems/src/cec05/supportData/ackley_M_D10.txt
  48. +2 −0 OsgiliathFunctionsProblems/src/cec05/supportData/ackley_M_D2.txt
  49. +30 −0 OsgiliathFunctionsProblems/src/cec05/supportData/ackley_M_D30.txt
  50. +50 −0 OsgiliathFunctionsProblems/src/cec05/supportData/ackley_M_D50.txt
  51. +1 −0 OsgiliathFunctionsProblems/src/cec05/supportData/ackley_func_data.txt
  52. +1 −0 OsgiliathFunctionsProblems/src/cec05/supportData/fbias_data.txt
  53. +25 −0 OsgiliathFunctionsProblems/src/cec05/supportData/global_optima.txt
  54. +10 −0 OsgiliathFunctionsProblems/src/cec05/supportData/griewank_M_D10.txt
  55. +2 −0 OsgiliathFunctionsProblems/src/cec05/supportData/griewank_M_D2.txt
  56. +30 −0 OsgiliathFunctionsProblems/src/cec05/supportData/griewank_M_D30.txt
  57. +50 −0 OsgiliathFunctionsProblems/src/cec05/supportData/griewank_M_D50.txt
  58. +1 −0 OsgiliathFunctionsProblems/src/cec05/supportData/griewank_func_data.txt
  59. +1 −0 OsgiliathFunctionsProblems/src/cec05/supportData/high_cond_elliptic_rot_data.txt
  60. +100 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func1_M_D10.txt
  61. +20 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func1_M_D2.txt
  62. +300 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func1_M_D30.txt
  63. +500 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func1_M_D50.txt
  64. +10 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func1_data.txt
  65. +100 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func2_M_D10.txt
  66. +20 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func2_M_D2.txt
  67. +300 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func2_M_D30.txt
  68. +500 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func2_M_D50.txt
  69. +10 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func2_data.txt
  70. +100 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func3_HM_D10.txt
  71. +20 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func3_HM_D2.txt
  72. +300 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func3_HM_D30.txt
  73. +500 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func3_HM_D50.txt
  74. +100 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func3_M_D10.txt
  75. +20 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func3_M_D2.txt
  76. +300 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func3_M_D30.txt
  77. +500 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func3_M_D50.txt
  78. +10 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func3_data.txt
  79. +100 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func4_M_D10.txt
  80. +20 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func4_M_D2.txt
  81. +300 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func4_M_D30.txt
  82. +500 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func4_M_D50.txt
  83. +10 −0 OsgiliathFunctionsProblems/src/cec05/supportData/hybrid_func4_data.txt
  84. +10 −0 OsgiliathFunctionsProblems/src/cec05/supportData/rastrigin_M_D10.txt
  85. +2 −0 OsgiliathFunctionsProblems/src/cec05/supportData/rastrigin_M_D2.txt
  86. +30 −0 OsgiliathFunctionsProblems/src/cec05/supportData/rastrigin_M_D30.txt
  87. +50 −0 OsgiliathFunctionsProblems/src/cec05/supportData/rastrigin_M_D50.txt
  88. +1 −0 OsgiliathFunctionsProblems/src/cec05/supportData/rastrigin_func_data.txt
  89. +1 −0 OsgiliathFunctionsProblems/src/cec05/supportData/rosenbrock_func_data.txt
  90. +1 −0 OsgiliathFunctionsProblems/src/cec05/supportData/schwefel_102_data.txt
  91. +101 −0 OsgiliathFunctionsProblems/src/cec05/supportData/schwefel_206_data.txt
  92. +201 −0 OsgiliathFunctionsProblems/src/cec05/supportData/schwefel_213_data.txt
  93. +1 −0 OsgiliathFunctionsProblems/src/cec05/supportData/sphere_func_data.txt
  94. +10 −0 OsgiliathFunctionsProblems/src/cec05/supportData/weierstrass_M_D10.txt
  95. +2 −0 OsgiliathFunctionsProblems/src/cec05/supportData/weierstrass_M_D2.txt
  96. +30 −0 OsgiliathFunctionsProblems/src/cec05/supportData/weierstrass_M_D30.txt
  97. +50 −0 OsgiliathFunctionsProblems/src/cec05/supportData/weierstrass_M_D50.txt
  98. +1 −0 OsgiliathFunctionsProblems/src/cec05/supportData/weierstrass_data.txt
  99. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func1.txt
  100. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func10.txt
  101. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func11.txt
  102. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func12.txt
  103. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func13.txt
  104. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func14.txt
  105. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func15.txt
  106. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func16.txt
  107. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func17.txt
  108. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func18.txt
  109. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func19.txt
  110. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func2.txt
  111. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func20.txt
  112. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func21.txt
  113. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func22.txt
  114. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func23.txt
  115. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func24.txt
  116. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func25.txt
  117. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func3.txt
  118. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func4.txt
  119. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func5.txt
  120. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func6.txt
  121. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func7.txt
  122. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func8.txt
  123. +20 −0 OsgiliathFunctionsProblems/src/cec05/testData/test_data_func9.txt
  124. +84 −0 OsgiliathFunctionsProblems/src/cec05/test_func.java
  125. +5 −0 OsgiliathFunctionsProblems/src/es/ugr/osgiliath/problem/ndimfunctions/CECFunctionProblem.java
  126. +7 −5 ...thFunctionsProblems/src/es/ugr/osgiliath/problem/ndimfunctions/NdimFunctionProblemParameters.java
  127. +85 −0 ...ms/src/es/ugr/osgiliath/problem/ndimfunctions/evolutionary/implementations/BLXaListCrossover.java
  128. +79 −0 ...es/ugr/osgiliath/problem/ndimfunctions/evolutionary/implementations/CEC2005FitnessCalculator.java
  129. +58 −0 ...c/es/ugr/osgiliath/problem/ndimfunctions/evolutionary/implementations/DoubleStepListMutation.java
  130. +6 −3 ...r/osgiliath/problem/ndimfunctions/evolutionary/implementations/NdimFunctionRandomInitializer.java
  131. +3 −1 .../ugr/osgiliath/problem/ndimfunctions/evolutionary/implementations/NdimFunctionRandomMutation.java
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry exported="true" kind="lib" path="bin/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
@@ -14,5 +14,16 @@ Import-Package: es.ugr.osgiliath,
es.ugr.osgiliath.evolutionary.individual.comparators,
es.ugr.osgiliath.problem,
es.ugr.osgiliath.utils,
org.osgi.framework;version="1.7.0",
org.osgi.service.component;version="1.1.0"
Service-Component: OSGI-INF/FitnessCalculator.xml, OSGI-INF/Initializer.xml, OSGI-INF/Mutator.xml, OSGI-INF/EvolutionaryParameters.xml, OSGI-INF/ProblemParameters.xml, OSGI-INF/Problem.xml
Service-Component: OSGI-INF/FitnessCalculator.xml, OSGI-INF/Initializer.xml, OSGI-INF/Mutation.xml,
OSGI-INF/Crossover.xml
Bundle-ClassPath: .,
src/cec05/,
src/,
cec05,
bin/
Export-Package:
es.ugr.osgiliath.problem.mofunctions,
es.ugr.osgiliath.problem.ndimfunctions,
es.ugr.osgiliath.problem.ndimfunctions.evolutionary.implementations
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" enabled="true" immediate="true" modified="modified" name="OsgiliathFunctionsProblemsFitnessCalculator">
<implementation class="es.ugr.osgiliath.problem.ndimfunctions.evolutionary.implementations.GriewankFitnessCalculator"/>
<implementation class="es.ugr.osgiliath.problem.ndimfunctions.evolutionary.implementations.CEC2005FitnessCalculator"/>
<service>
<provide interface="es.ugr.osgiliath.evolutionary.elements.FitnessCalculator"/>
</service>
<reference bind="setProblem" cardinality="1..1" interface="es.ugr.osgiliath.problem.Problem" name="Problem" policy="static" unbind="unsetProblem"/>
<property name="calculatorType" type="String" value="daiwal"/>
<property name="remoteService" type="String" value="true"/>
<reference bind="setAlgorithmParameters" cardinality="1..1" interface="es.ugr.osgiliath.algorithms.AlgorithmParameters" name="AlgorithmParameters" policy="static" unbind="unsetAlgorithmParameters"/>
<property name="service.pid" type="String" value="pollas"/>
<!--<property name="service.exported.interfaces" type="String" value="*"/>
<property name="service.exported.configs" type="String" value="ecf.generic.server"/>
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="OsgiliathFunctionsProblemsInitializer">
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" activate="activate" immediate="true" name="OsgiliathFunctionsProblemsInitializer">
<implementation class="es.ugr.osgiliath.problem.ndimfunctions.evolutionary.implementations.NdimFunctionRandomInitializer"/>
<service>
<provide interface="es.ugr.osgiliath.evolutionary.individual.Initializer"/>
</service>
<reference bind="setProblem" cardinality="1..1" interface="es.ugr.osgiliath.problem.Problem" name="Problem" policy="static" unbind="unsetProblem"/>
<reference bind="setFitnessCalculator" cardinality="1..1" interface="es.ugr.osgiliath.evolutionary.elements.FitnessCalculator" name="FitnessCalculator" policy="static" target="(calculatorType=distributed)" unbind="unsetFitnessCalculator"/>
<reference bind="setFitnessCalculator" cardinality="1..1" interface="es.ugr.osgiliath.evolutionary.elements.FitnessCalculator" name="FitnessCalculator" policy="static" unbind="unsetFitnessCalculator"/>
<reference bind="setAlgorithmParameters" cardinality="1..1" interface="es.ugr.osgiliath.algorithms.AlgorithmParameters" name="AlgorithmParameters" policy="static" unbind="unsetAlgorithmParameters"/>
<property name="name" type="String" value="ndimfunctioninitializer"/>
</scr:component>
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="OsgiliathFunctionsProblemsMutator">
<implementation class="es.ugr.osgiliath.problem.ndimfunctions.evolutionary.implementations.NdimFunctionRandomMutator"/>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="Mutation">
<implementation class="es.ugr.osgiliath.problem.ndimfunctions.evolutionary.implementations.NdimFunctionRandomMutation"/>
<reference bind="setAlgorithmParameters" cardinality="1..1" interface="es.ugr.osgiliath.algorithms.AlgorithmParameters" name="AlgorithmParameters" policy="static" unbind="unsetAlgorithmParameters"/>
<service>
<provide interface="es.ugr.osgiliath.evolutionary.elements.Mutator"/>
<provide interface="es.ugr.osgiliath.evolutionary.elements.Mutation"/>
</service>
<reference bind="setAlgorithmParameters" cardinality="1..1" interface="es.ugr.osgiliath.algorithms.AlgorithmParameters" name="AlgorithmParameters" policy="static" unbind="unsetAlgorithmParameters"/>
<reference bind="setFitnessCalculator" cardinality="1..1" interface="es.ugr.osgiliath.evolutionary.elements.FitnessCalculator" name="FitnessCalculator" policy="static" target="(calculatorType=distributed)" unbind="unsetFitnessCalculator"/>
</scr:component>
@@ -2,7 +2,8 @@ output.. = bin/
bin.includes = META-INF/,\
.,\
OSGI-INF/,\
OSGI-INF/EvolutionaryParameters.xml,\
OSGI-INF/ProblemParameters.xml,\
OSGI-INF/Problem.xml
bin/,\
cec.jar,\
src/cec05/,\
src/
source.. = src/
Oops, something went wrong.

0 comments on commit b8ef318

Please sign in to comment.