Changeset 11580 for branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3
- Timestamp:
- 11/25/14 11:37:58 (10 years ago)
- Location:
- branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/AlpsGeneticAlgorithm.cs
r11578 r11580 184 184 } 185 185 186 private AlpsGeneticAlgorithmMainLoop MainLoop { 187 get { return OperatorGraph.Iterate().OfType<AlpsGeneticAlgorithmMainLoop>().First(); } 188 } 189 186 190 [Storable] 187 191 private BestAverageWorstQualityAnalyzer qualityAnalyzer; … … 232 236 var initializeGlobalEvaluatedSolutions = new DataReducer() { Name = "Initialize EvaluatedSolutions" }; 233 237 var resultsCollector = new ResultsCollector(); 234 var mainLoop = new CombinedOperator(); 238 var mainLoop = new AlpsGeneticAlgorithmMainLoop(); 239 235 240 OperatorGraph.InitialOperator = globalRandomCreator; 236 241 … … 366 371 } 367 372 private void ParameterizeMainLoop() { 368 // TODO 373 MainLoop.BestKnownQualityParameter.ActualName = Problem.BestKnownQualityParameter.Name; 374 MainLoop.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name; 375 MainLoop.MaximizationParameter.ActualName = Problem.MaximizationParameter.Name; 376 MainLoop.BestKnownQualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName; 369 377 } 370 378 private void ParameterizeSelectors() { -
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/HeuristicLab.Algorithms.ALPS-3.3.csproj
r11568 r11580 80 80 <Compile Include="AgingScheme.cs" /> 81 81 <Compile Include="AlpsGeneticAlgorithm.cs" /> 82 <Compile Include="AlpsGeneticAlgorithmMainLoop.cs" /> 82 83 <Compile Include="Plugin.cs" /> 83 84 <Compile Include="Properties\AssemblyInfo.cs" />
Note: See TracChangeset
for help on using the changeset viewer.