- Timestamp:
- 01/10/11 15:48:06 (14 years ago)
- Location:
- branches/HeuristicLab.MetaOptimization
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.MetaOptimization.Test/HeuristicLab.MetaOptimization.Test.csproj
r5212 r5267 45 45 <ItemGroup> 46 46 <Reference Include="ALGLIB-2.5.0"> 47 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ALGLIB-2.5.0.dll</HintPath>47 <HintPath>C:\Program Files\HeuristicLab 3.3\ALGLIB-2.5.0.dll</HintPath> 48 48 </Reference> 49 49 <Reference Include="ALGLIB-3.1.0"> 50 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ALGLIB-3.1.0.dll</HintPath>50 <HintPath>C:\Program Files\HeuristicLab 3.3\ALGLIB-3.1.0.dll</HintPath> 51 51 </Reference> 52 52 <Reference Include="Google.ProtocolBuffers-0.9.1"> 53 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\Google.ProtocolBuffers-0.9.1.dll</HintPath>53 <HintPath>C:\Program Files\HeuristicLab 3.3\Google.ProtocolBuffers-0.9.1.dll</HintPath> 54 54 </Reference> 55 55 <Reference Include="HeuristicLab.ALGLIB-2.5.0"> 56 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.ALGLIB-2.5.0.dll</HintPath>56 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.ALGLIB-2.5.0.dll</HintPath> 57 57 </Reference> 58 58 <Reference Include="HeuristicLab.ALGLIB-3.1.0"> 59 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.ALGLIB-3.1.0.dll</HintPath>59 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.ALGLIB-3.1.0.dll</HintPath> 60 60 </Reference> 61 61 <Reference Include="HeuristicLab.Algorithms.DataAnalysis-3.3"> 62 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.DataAnalysis-3.3.dll</HintPath>62 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.DataAnalysis-3.3.dll</HintPath> 63 63 </Reference> 64 64 <Reference Include="HeuristicLab.Algorithms.DataAnalysis.Views-3.3"> 65 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.DataAnalysis.Views-3.3.dll</HintPath>65 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.DataAnalysis.Views-3.3.dll</HintPath> 66 66 </Reference> 67 67 <Reference Include="HeuristicLab.Algorithms.EvolutionStrategy-3.3"> 68 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.EvolutionStrategy-3.3.dll</HintPath>68 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.EvolutionStrategy-3.3.dll</HintPath> 69 69 </Reference> 70 70 <Reference Include="HeuristicLab.Algorithms.GeneticAlgorithm-3.3"> 71 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.GeneticAlgorithm-3.3.dll</HintPath>71 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.GeneticAlgorithm-3.3.dll</HintPath> 72 72 </Reference> 73 73 <Reference Include="HeuristicLab.Algorithms.LocalSearch-3.3"> 74 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.LocalSearch-3.3.dll</HintPath>74 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.LocalSearch-3.3.dll</HintPath> 75 75 </Reference> 76 76 <Reference Include="HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3"> 77 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3.dll</HintPath>77 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3.dll</HintPath> 78 78 </Reference> 79 79 <Reference Include="HeuristicLab.Algorithms.SimulatedAnnealing-3.3"> 80 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.SimulatedAnnealing-3.3.dll</HintPath>80 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.SimulatedAnnealing-3.3.dll</HintPath> 81 81 </Reference> 82 82 <Reference Include="HeuristicLab.Algorithms.TabuSearch-3.3"> 83 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.TabuSearch-3.3.dll</HintPath>83 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.TabuSearch-3.3.dll</HintPath> 84 84 </Reference> 85 85 <Reference Include="HeuristicLab.Analysis-3.3"> 86 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Analysis-3.3.dll</HintPath>86 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Analysis-3.3.dll</HintPath> 87 87 </Reference> 88 88 <Reference Include="HeuristicLab.Analysis.Views-3.3"> 89 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Analysis.Views-3.3.dll</HintPath>89 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Analysis.Views-3.3.dll</HintPath> 90 90 </Reference> 91 91 <Reference Include="HeuristicLab.Clients.Common-3.3"> 92 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Clients.Common-3.3.dll</HintPath>92 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Clients.Common-3.3.dll</HintPath> 93 93 </Reference> 94 94 <Reference Include="HeuristicLab.CodeEditor-3.3"> 95 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.CodeEditor-3.3.dll</HintPath>95 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.CodeEditor-3.3.dll</HintPath> 96 96 </Reference> 97 97 <Reference Include="HeuristicLab.Collections-3.3"> 98 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Collections-3.3.dll</HintPath>98 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Collections-3.3.dll</HintPath> 99 99 </Reference> 100 100 <Reference Include="HeuristicLab.Common-3.3"> 101 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Common-3.3.dll</HintPath>101 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Common-3.3.dll</HintPath> 102 102 </Reference> 103 103 <Reference Include="HeuristicLab.Common.Resources-3.3"> 104 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Common.Resources-3.3.dll</HintPath>104 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Common.Resources-3.3.dll</HintPath> 105 105 </Reference> 106 106 <Reference Include="HeuristicLab.Core-3.3"> 107 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Core-3.3.dll</HintPath>107 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Core-3.3.dll</HintPath> 108 108 </Reference> 109 109 <Reference Include="HeuristicLab.Core.Views-3.3"> 110 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Core.Views-3.3.dll</HintPath>110 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Core.Views-3.3.dll</HintPath> 111 111 </Reference> 112 112 <Reference Include="HeuristicLab.Data-3.3"> 113 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Data-3.3.dll</HintPath>113 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Data-3.3.dll</HintPath> 114 114 </Reference> 115 115 <Reference Include="HeuristicLab.Data.Views-3.3"> 116 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Data.Views-3.3.dll</HintPath>116 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Data.Views-3.3.dll</HintPath> 117 117 </Reference> 118 118 <Reference Include="HeuristicLab.DataAccess-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 119 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.DataAccess-3.3.dll</HintPath>119 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.DataAccess-3.3.dll</HintPath> 120 120 </Reference> 121 121 <Reference Include="HeuristicLab.Encodings.BinaryVectorEncoding-3.3"> 122 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.BinaryVectorEncoding-3.3.dll</HintPath>122 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.BinaryVectorEncoding-3.3.dll</HintPath> 123 123 </Reference> 124 124 <Reference Include="HeuristicLab.Encodings.IntegerVectorEncoding-3.3"> 125 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.IntegerVectorEncoding-3.3.dll</HintPath>125 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.IntegerVectorEncoding-3.3.dll</HintPath> 126 126 </Reference> 127 127 <Reference Include="HeuristicLab.Encodings.PermutationEncoding-3.3"> 128 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.PermutationEncoding-3.3.dll</HintPath>128 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.PermutationEncoding-3.3.dll</HintPath> 129 129 </Reference> 130 130 <Reference Include="HeuristicLab.Encodings.PermutationEncoding.Views-3.3"> 131 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.PermutationEncoding.Views-3.3.dll</HintPath>131 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.PermutationEncoding.Views-3.3.dll</HintPath> 132 132 </Reference> 133 133 <Reference Include="HeuristicLab.Encodings.RealVectorEncoding-3.3"> 134 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.RealVectorEncoding-3.3.dll</HintPath>134 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.RealVectorEncoding-3.3.dll</HintPath> 135 135 </Reference> 136 136 <Reference Include="HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.3"> 137 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.3.dll</HintPath>137 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.3.dll</HintPath> 138 138 </Reference> 139 139 <Reference Include="HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.3"> 140 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.3.dll</HintPath>140 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.3.dll</HintPath> 141 141 </Reference> 142 142 <Reference Include="HeuristicLab.Hive.Contracts-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 143 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Contracts-3.3.dll</HintPath>143 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Contracts-3.3.dll</HintPath> 144 144 </Reference> 145 145 <Reference Include="HeuristicLab.Hive.ExperimentManager-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 146 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.ExperimentManager-3.3.dll</HintPath>146 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.ExperimentManager-3.3.dll</HintPath> 147 147 </Reference> 148 148 <Reference Include="HeuristicLab.Hive.ExperimentManager.Views-3.3"> 149 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.ExperimentManager.Views-3.3.dll</HintPath>149 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.ExperimentManager.Views-3.3.dll</HintPath> 150 150 </Reference> 151 151 <Reference Include="HeuristicLab.Hive.JobBase-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 152 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.JobBase-3.3.dll</HintPath>152 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.JobBase-3.3.dll</HintPath> 153 153 </Reference> 154 154 <Reference Include="HeuristicLab.Hive.Server.Console-3.3"> 155 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.Console-3.3.dll</HintPath>155 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.Console-3.3.dll</HintPath> 156 156 </Reference> 157 157 <Reference Include="HeuristicLab.Hive.Server.Core-3.3"> 158 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.Core-3.3.dll</HintPath>158 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.Core-3.3.dll</HintPath> 159 159 </Reference> 160 160 <Reference Include="HeuristicLab.Hive.Server.DataAccess-3.3"> 161 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.DataAccess-3.3.dll</HintPath>161 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.DataAccess-3.3.dll</HintPath> 162 162 </Reference> 163 163 <Reference Include="HeuristicLab.Hive.Server.LINQDataAccess-3.3"> 164 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.LINQDataAccess-3.3.dll</HintPath>164 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.LINQDataAccess-3.3.dll</HintPath> 165 165 </Reference> 166 166 <Reference Include="HeuristicLab.Hive.Slave.Common-3.3"> 167 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Common-3.3.dll</HintPath>167 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Common-3.3.dll</HintPath> 168 168 </Reference> 169 169 <Reference Include="HeuristicLab.Hive.Slave.Communication-3.3"> 170 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Communication-3.3.dll</HintPath>170 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Communication-3.3.dll</HintPath> 171 171 </Reference> 172 172 <Reference Include="HeuristicLab.Hive.Slave.Console-3.3"> 173 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Console-3.3.dll</HintPath>173 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Console-3.3.dll</HintPath> 174 174 </Reference> 175 175 <Reference Include="HeuristicLab.Hive.Slave.Core-3.3"> 176 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Core-3.3.dll</HintPath>176 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Core-3.3.dll</HintPath> 177 177 </Reference> 178 178 <Reference Include="HeuristicLab.Hive.Slave.ExecutionEngine-3.3"> 179 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.ExecutionEngine-3.3.dll</HintPath>179 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.ExecutionEngine-3.3.dll</HintPath> 180 180 </Reference> 181 181 <Reference Include="HeuristicLab.Hive.Tracing-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 182 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Tracing-3.3.dll</HintPath>182 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Tracing-3.3.dll</HintPath> 183 183 </Reference> 184 184 <Reference Include="HeuristicLab.HiveEngine-3.3"> 185 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.HiveEngine-3.3.dll</HintPath>185 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.HiveEngine-3.3.dll</HintPath> 186 186 </Reference> 187 187 <Reference Include="HeuristicLab.LibSVM-1.6.3"> 188 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.LibSVM-1.6.3.dll</HintPath>188 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.LibSVM-1.6.3.dll</HintPath> 189 189 </Reference> 190 190 <Reference Include="HeuristicLab.log4net-1.2.10.0"> 191 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.log4net-1.2.10.0.dll</HintPath>191 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.log4net-1.2.10.0.dll</HintPath> 192 192 </Reference> 193 193 <Reference Include="HeuristicLab.MainForm-3.3"> 194 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm-3.3.dll</HintPath>194 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm-3.3.dll</HintPath> 195 195 </Reference> 196 196 <Reference Include="HeuristicLab.MainForm.WindowsForms-3.3"> 197 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm.WindowsForms-3.3.dll</HintPath>197 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm.WindowsForms-3.3.dll</HintPath> 198 198 </Reference> 199 199 <Reference Include="HeuristicLab.Netron-3.0.2672.12446"> 200 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Netron-3.0.2672.12446.dll</HintPath>200 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Netron-3.0.2672.12446.dll</HintPath> 201 201 </Reference> 202 202 <Reference Include="HeuristicLab.Operators-3.3"> 203 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Operators-3.3.dll</HintPath>203 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Operators-3.3.dll</HintPath> 204 204 </Reference> 205 205 <Reference Include="HeuristicLab.Operators.Programmable-3.3"> 206 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Programmable-3.3.dll</HintPath>206 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Programmable-3.3.dll</HintPath> 207 207 </Reference> 208 208 <Reference Include="HeuristicLab.Operators.Views-3.3"> 209 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Views-3.3.dll</HintPath>209 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Views-3.3.dll</HintPath> 210 210 </Reference> 211 211 <Reference Include="HeuristicLab.Operators.Views.GraphVisualization-3.3"> 212 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Views.GraphVisualization-3.3.dll</HintPath>212 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Views.GraphVisualization-3.3.dll</HintPath> 213 213 </Reference> 214 214 <Reference Include="HeuristicLab.Optimization-3.3"> 215 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization-3.3.dll</HintPath>215 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization-3.3.dll</HintPath> 216 216 </Reference> 217 217 <Reference Include="HeuristicLab.Optimization.Operators-3.3"> 218 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization.Operators-3.3.dll</HintPath>218 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization.Operators-3.3.dll</HintPath> 219 219 </Reference> 220 220 <Reference Include="HeuristicLab.Optimization.Views-3.3"> 221 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization.Views-3.3.dll</HintPath>221 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization.Views-3.3.dll</HintPath> 222 222 </Reference> 223 223 <Reference Include="HeuristicLab.Optimizer-3.3"> 224 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Optimizer-3.3.dll</HintPath>224 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Optimizer-3.3.dll</HintPath> 225 225 </Reference> 226 226 <Reference Include="HeuristicLab.ParallelEngine-3.3"> 227 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.ParallelEngine-3.3.dll</HintPath>227 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.ParallelEngine-3.3.dll</HintPath> 228 228 </Reference> 229 229 <Reference Include="HeuristicLab.Parameters-3.3"> 230 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Parameters-3.3.dll</HintPath>230 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Parameters-3.3.dll</HintPath> 231 231 </Reference> 232 232 <Reference Include="HeuristicLab.Parameters.Views-3.3"> 233 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Parameters.Views-3.3.dll</HintPath>233 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Parameters.Views-3.3.dll</HintPath> 234 234 </Reference> 235 235 <Reference Include="HeuristicLab.Persistence-3.3"> 236 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Persistence-3.3.dll</HintPath>236 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Persistence-3.3.dll</HintPath> 237 237 </Reference> 238 238 <Reference Include="HeuristicLab.Persistence.GUI-3.3"> 239 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Persistence.GUI-3.3.dll</HintPath>239 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Persistence.GUI-3.3.dll</HintPath> 240 240 </Reference> 241 241 <Reference Include="HeuristicLab.PluginInfrastructure-3.3"> 242 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath>242 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> 243 243 </Reference> 244 244 <Reference Include="HeuristicLab.Problems.ArtificialAnt-3.3"> 245 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ArtificialAnt-3.3.dll</HintPath>245 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ArtificialAnt-3.3.dll</HintPath> 246 246 </Reference> 247 247 <Reference Include="HeuristicLab.Problems.ArtificialAnt.Views-3.3"> 248 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ArtificialAnt.Views-3.3.dll</HintPath>248 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ArtificialAnt.Views-3.3.dll</HintPath> 249 249 </Reference> 250 250 <Reference Include="HeuristicLab.Problems.DataAnalysis-3.3"> 251 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis-3.3.dll</HintPath>251 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis-3.3.dll</HintPath> 252 252 </Reference> 253 253 <Reference Include="HeuristicLab.Problems.DataAnalysis.Classification-3.3"> 254 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Classification-3.3.dll</HintPath>254 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Classification-3.3.dll</HintPath> 255 255 </Reference> 256 256 <Reference Include="HeuristicLab.Problems.DataAnalysis.Classification.Views-3.3"> 257 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Classification.Views-3.3.dll</HintPath>257 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Classification.Views-3.3.dll</HintPath> 258 258 </Reference> 259 259 <Reference Include="HeuristicLab.Problems.DataAnalysis.Regression-3.3"> 260 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Regression-3.3.dll</HintPath>260 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Regression-3.3.dll</HintPath> 261 261 </Reference> 262 262 <Reference Include="HeuristicLab.Problems.DataAnalysis.Views-3.3"> 263 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Views-3.3.dll</HintPath>263 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Views-3.3.dll</HintPath> 264 264 </Reference> 265 265 <Reference Include="HeuristicLab.Problems.ExternalEvaluation-3.3"> 266 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation-3.3.dll</HintPath>266 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation-3.3.dll</HintPath> 267 267 </Reference> 268 268 <Reference Include="HeuristicLab.Problems.ExternalEvaluation.GP-3.3"> 269 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.GP-3.3.dll</HintPath>269 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.GP-3.3.dll</HintPath> 270 270 </Reference> 271 271 <Reference Include="HeuristicLab.Problems.ExternalEvaluation.GP.Views-3.3"> 272 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.GP.Views-3.3.dll</HintPath>272 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.GP.Views-3.3.dll</HintPath> 273 273 </Reference> 274 274 <Reference Include="HeuristicLab.Problems.ExternalEvaluation.Views-3.3"> 275 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.Views-3.3.dll</HintPath>275 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.Views-3.3.dll</HintPath> 276 276 </Reference> 277 277 <Reference Include="HeuristicLab.Problems.Knapsack-3.3"> 278 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.Knapsack-3.3.dll</HintPath>278 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.Knapsack-3.3.dll</HintPath> 279 279 </Reference> 280 280 <Reference Include="HeuristicLab.Problems.Knapsack.Views-3.3"> 281 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.Knapsack.Views-3.3.dll</HintPath>281 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.Knapsack.Views-3.3.dll</HintPath> 282 282 </Reference> 283 283 <Reference Include="HeuristicLab.Problems.MetaOptimization-3.3"> 284 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.MetaOptimization-3.3.dll</HintPath>284 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.MetaOptimization-3.3.dll</HintPath> 285 285 </Reference> 286 286 <Reference Include="HeuristicLab.Problems.MetaOptimization.Views-3.3"> 287 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.MetaOptimization.Views-3.3.dll</HintPath>287 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.MetaOptimization.Views-3.3.dll</HintPath> 288 288 </Reference> 289 289 <Reference Include="HeuristicLab.Problems.OneMax-3.3"> 290 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.OneMax-3.3.dll</HintPath>290 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.OneMax-3.3.dll</HintPath> 291 291 </Reference> 292 292 <Reference Include="HeuristicLab.Problems.OneMax.Views-3.3"> 293 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.OneMax.Views-3.3.dll</HintPath>293 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.OneMax.Views-3.3.dll</HintPath> 294 294 </Reference> 295 295 <Reference Include="HeuristicLab.Problems.TestFunctions-3.3"> 296 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TestFunctions-3.3.dll</HintPath>296 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TestFunctions-3.3.dll</HintPath> 297 297 </Reference> 298 298 <Reference Include="HeuristicLab.Problems.TestFunctions.Views-3.3"> 299 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TestFunctions.Views-3.3.dll</HintPath>299 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TestFunctions.Views-3.3.dll</HintPath> 300 300 </Reference> 301 301 <Reference Include="HeuristicLab.Problems.TravelingSalesman-3.3"> 302 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TravelingSalesman-3.3.dll</HintPath>302 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TravelingSalesman-3.3.dll</HintPath> 303 303 </Reference> 304 304 <Reference Include="HeuristicLab.Problems.TravelingSalesman.Views-3.3"> 305 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TravelingSalesman.Views-3.3.dll</HintPath>305 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TravelingSalesman.Views-3.3.dll</HintPath> 306 306 </Reference> 307 307 <Reference Include="HeuristicLab.Problems.VehicleRouting-3.3"> 308 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.VehicleRouting-3.3.dll</HintPath>308 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.VehicleRouting-3.3.dll</HintPath> 309 309 </Reference> 310 310 <Reference Include="HeuristicLab.Problems.VehicleRouting.Views-3.3"> 311 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.VehicleRouting.Views-3.3.dll</HintPath>311 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.VehicleRouting.Views-3.3.dll</HintPath> 312 312 </Reference> 313 313 <Reference Include="HeuristicLab.ProtobufCS-0.9.1"> 314 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.ProtobufCS-0.9.1.dll</HintPath>314 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.ProtobufCS-0.9.1.dll</HintPath> 315 315 </Reference> 316 316 <Reference Include="HeuristicLab.Random-3.3"> 317 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Random-3.3.dll</HintPath>317 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Random-3.3.dll</HintPath> 318 318 </Reference> 319 319 <Reference Include="HeuristicLab.Selection-3.3"> 320 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Selection-3.3.dll</HintPath>320 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Selection-3.3.dll</HintPath> 321 321 </Reference> 322 322 <Reference Include="HeuristicLab.SequentialEngine-3.3"> 323 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.SequentialEngine-3.3.dll</HintPath>323 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.SequentialEngine-3.3.dll</HintPath> 324 324 </Reference> 325 325 <Reference Include="HeuristicLab.SharpDevelop-3.1.1.5327"> 326 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.SharpDevelop-3.1.1.5327.dll</HintPath>326 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.SharpDevelop-3.1.1.5327.dll</HintPath> 327 327 </Reference> 328 328 <Reference Include="HeuristicLab.Tracing-3.3"> 329 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Tracing-3.3.dll</HintPath>329 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Tracing-3.3.dll</HintPath> 330 330 </Reference> 331 331 <Reference Include="HeuristicLab.Visualization.ChartControlsExtensions-3.3"> 332 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Visualization.ChartControlsExtensions-3.3.dll</HintPath>332 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Visualization.ChartControlsExtensions-3.3.dll</HintPath> 333 333 </Reference> 334 334 <Reference Include="HeuristicLab.WinFormsUI-2.3.1"> 335 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.WinFormsUI-2.3.1.dll</HintPath>335 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.WinFormsUI-2.3.1.dll</HintPath> 336 336 </Reference> 337 337 <Reference Include="ICSharpCode.NRefactory"> 338 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ICSharpCode.NRefactory.dll</HintPath>338 <HintPath>C:\Program Files\HeuristicLab 3.3\ICSharpCode.NRefactory.dll</HintPath> 339 339 </Reference> 340 340 <Reference Include="ICSharpCode.SharpDevelop.Dom"> 341 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ICSharpCode.SharpDevelop.Dom.dll</HintPath>341 <HintPath>C:\Program Files\HeuristicLab 3.3\ICSharpCode.SharpDevelop.Dom.dll</HintPath> 342 342 </Reference> 343 343 <Reference Include="ICSharpCode.SharpZipLib"> 344 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ICSharpCode.SharpZipLib.dll</HintPath>344 <HintPath>C:\Program Files\HeuristicLab 3.3\ICSharpCode.SharpZipLib.dll</HintPath> 345 345 </Reference> 346 346 <Reference Include="ICSharpCode.TextEditor"> 347 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ICSharpCode.TextEditor.dll</HintPath>347 <HintPath>C:\Program Files\HeuristicLab 3.3\ICSharpCode.TextEditor.dll</HintPath> 348 348 </Reference> 349 349 <Reference Include="LibSVM-1.6.3"> 350 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\LibSVM-1.6.3.dll</HintPath>350 <HintPath>C:\Program Files\HeuristicLab 3.3\LibSVM-1.6.3.dll</HintPath> 351 351 </Reference> 352 352 <Reference Include="log4net"> 353 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\log4net.dll</HintPath>353 <HintPath>C:\Program Files\HeuristicLab 3.3\log4net.dll</HintPath> 354 354 </Reference> 355 355 <Reference Include="Mono.Cecil"> 356 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\Mono.Cecil.dll</HintPath>356 <HintPath>C:\Program Files\HeuristicLab 3.3\Mono.Cecil.dll</HintPath> 357 357 </Reference> 358 358 <Reference Include="Netron.Diagramming.Core-3.0.2672.12446"> 359 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\Netron.Diagramming.Core-3.0.2672.12446.dll</HintPath>359 <HintPath>C:\Program Files\HeuristicLab 3.3\Netron.Diagramming.Core-3.0.2672.12446.dll</HintPath> 360 360 </Reference> 361 361 <Reference Include="System" /> … … 366 366 <Reference Include="System.Xml" /> 367 367 <Reference Include="WeifenLuo.WinFormsUI.Docking-2.3.1"> 368 <HintPath> ..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\WeifenLuo.WinFormsUI.Docking-2.3.1.dll</HintPath>368 <HintPath>C:\Program Files\HeuristicLab 3.3\WeifenLuo.WinFormsUI.Docking-2.3.1.dll</HintPath> 369 369 </Reference> 370 370 </ItemGroup> -
branches/HeuristicLab.MetaOptimization/HeuristicLab.MetaOptimization.Test/Program.cs
r5262 r5267 37 37 38 38 static void Main(string[] args) { 39 ContentManager.Initialize(new PersistenceContentManager()); 40 39 41 //TestTableBuilder(); 40 42 //TestShorten(); … … 51 53 //TestAlgorithmPerformanceIssue(); 52 54 //TestWaitAny(); 53 TestExecutionTimeUpdateInvervalPerformance(); 55 //TestExecutionTimeUpdateInvervalPerformance(); 56 TestMemoryConsumption(); 54 57 return; 55 58 … … 82 85 } 83 86 87 private static void TestMemoryConsumption() { 88 Queue<TimeSpan> latestExecutionTimes = new Queue<TimeSpan>(); 89 GeneticAlgorithm ga = new GeneticAlgorithm(); 90 ga.PopulationSize.Value = 3; 91 ga.MaximumGenerations.Value = 1; 92 ga.Engine = new SequentialEngine.SequentialEngine(); 93 94 MetaOptimizationProblem metaOptimizationProblem = new MetaOptimizationProblem(); 95 metaOptimizationProblem.Repetitions = new IntValue(metaProblemRepetitions); 96 GeneticAlgorithm metaLevelAlgorithm = GetMetaGA(metaOptimizationProblem); 97 ParameterConfigurationTree algorithmVc = SetupGAAlgorithm(ga, metaOptimizationProblem); 98 Stopwatch sw = new Stopwatch(); 99 100 var algs = new List<IAlgorithm>(); 101 for (int i = 0; i < 10000; i++) { 102 sw.Start(); 103 GeneticAlgorithm clonedGa = (GeneticAlgorithm)ga.Clone(); 104 clonedGa.Name = "CLONED GA"; 105 algorithmVc.Parameterize(clonedGa); 106 algs.Add(clonedGa); 107 sw.Reset(); 108 ContentManager.Save((IStorableContent)metaLevelAlgorithm, "alg_"+i+".hl", true); 109 Console.WriteLine("Cloned alg #{0}", i); 110 } 111 } 112 84 113 private static void TestExecutionTimeUpdateInvervalPerformance() { 85 114 TableBuilder tb = new TableBuilder("Tasks", "Interval", "TotalExecutionTime", "AvgExecutionTime", "TimeElapsed", "TotalTimeElapsed", "Speedup", "ExecutionTimeChangedCount", "RealExecutionTimeUpdate(ms)"); 86 int tasks = 32;115 int tasks = 4; 87 116 int repetitions = 3; 88 117 … … 130 159 for (int i = 0; i < taskCount; i++) { 131 160 GeneticAlgorithm alg = CreateGA(); 132 ((Engine)alg.Engine).ExecutionTimeUpdateInterval = TimeSpan.FromMilliseconds(executionTimeUpdateIntervalMs);161 //((Engine)alg.Engine).ExecutionTimeUpdateInterval = TimeSpan.FromMilliseconds(executionTimeUpdateIntervalMs); 133 162 algs[i] = alg; 134 163 } … … 220 249 221 250 private static void TestAlgorithmPerformanceIssue() { 222 ContentManager.Initialize(new PersistenceContentManager());223 251 Queue<TimeSpan> latestExecutionTimes = new Queue<TimeSpan>(); 224 252 int size = 10; … … 497 525 ConfigurePopulationSize(algorithmVc, 12, 100, 1); 498 526 ConfigureMutationRate(algorithmVc, 0.0, 1.0, 0.01); 499 //ConfigureMutationOperator(algorithmVc);527 ConfigureMutationOperator(algorithmVc); 500 528 ConfigureElites(algorithmVc, 0, 10, 1); 501 //ConfigureSelectionOperator(algorithmVc, true);529 ConfigureSelectionOperator(algorithmVc, true); 502 530 return algorithmVc; 503 531 } … … 643 671 644 672 private static void TestOptimization(EngineAlgorithm metaLevelAlgorithm) { 645 ContentManager.Initialize(new PersistenceContentManager());646 673 string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Results"); 647 674 if (!Directory.Exists(path)) -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/ParameterConfigurations/ParameterConfiguration.cs
r5262 r5267 121 121 } 122 122 123 [Storable] 123 124 protected IItemSet<IItem> validValues; 124 125 … … 134 135 validTypes = new List<Type>(validTypes) { typeof(NullValue) }.ToArray(); 135 136 } 136 this.ValueConfigurations = new CheckedValueConfigurationCollection(this.CreateValidValues()); 137 this.ActualValue = new ConstrainedValue(valueParameter.Value != null ? (IItem)valueParameter.Value.Clone() : null, valueParameter.DataType, this.CreateValidValues(), this.IsNullable); 137 this.ValueConfigurations = new CheckedValueConfigurationCollection(); 138 this.ActualValue = new ConstrainedValue( 139 valueParameter.Value != null ? (IItem)valueParameter.Value.Clone() : null, 140 valueParameter.DataType, 141 this.validValues != null ? new ItemSet<IItem>(this.validValues) : CreateValidValues(), 142 this.IsNullable); 138 143 if (Optimize) { 139 144 PopulateValueConfigurations(); … … 191 196 this.ValueConfigurations.Add(new NullValueConfiguration()); 192 197 } else { 193 IItem val = CreateItem(t); // (IItem)Activator.CreateInstance(t); 198 IItem val; 199 if (ActualValue.Value != null && ActualValue.ValueDataType == t) { 200 val = (IItem)ActualValue.Value.Clone(); // use existing value for that type (if available) 201 } else { 202 val = CreateItem(t); 203 } 194 204 this.ValueConfigurations.Add(new ValueConfiguration(val, val.GetType()), true); 195 205 } … … 198 208 199 209 private IEnumerable<Type> GetValidTypes(IValueParameter parameter) { 210 // in case of IOperator return empty list, otherwise hundreds of types would be returned. this mostly occurs for Successor which will never be optimized 211 if (parameter.DataType == typeof(IOperator)) 212 return new List<Type>(); 213 200 214 if (IsSubclassOfRawGeneric(typeof(OptionalConstrainedValueParameter<>), parameter.GetType())) { 201 215 var parameterValidValues = (IEnumerable)parameter.GetType().GetProperty("ValidValues").GetValue(parameter, new object[] { }); … … 209 223 if (IsSubclassOfRawGeneric(typeof(OptionalConstrainedValueParameter<>), parameter.GetType())) { 210 224 var x = (IEnumerable)parameter.GetType().GetProperty("ValidValues").GetValue(parameter, new object[] { }); 211 return new ItemSet<IItem>(x.Cast<IItem>().Select(y => (IItem)y.Clone())); 225 return new ItemSet<IItem>(x.Cast<IItem>().Select(y => (IItem)y.Clone())); // cloning actually saves memory, because references to event-subscribers are removed 212 226 } else { 213 227 return null; … … 226 240 IItem value = this.validValues.Where(v => v.GetType() == type).SingleOrDefault(); 227 241 if (value != null) 228 return (IItem)value.Clone();242 return value; 229 243 230 244 return null; … … 234 248 var validValues = new ItemSet<IItem>(); 235 249 foreach (Type t in this.validTypes) { 236 validValues.Add(CreateItem(t)); 250 try { 251 var val = CreateItem(t); 252 validValues.Add(val); 253 } 254 catch (MissingMethodException) { /* Constructor is missing, don't use those types */ } 237 255 } 238 256 return validValues;
Note: See TracChangeset
for help on using the changeset viewer.