Changeset 14173
- Timestamp:
- 07/22/16 06:34:07 (8 years ago)
- Location:
- stable
- Files:
-
- 3 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 13402,13964
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.ALPS
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Algorithms.ALPS merged: 13402,13964
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.ALPS/3.3/AlpsOffspringSelectionGeneticAlgorithm.cs
r13402 r14173 284 284 [Storable] 285 285 private ComparisonTerminator<IntValue> generationsTerminator; 286 //[Storable]287 //private ComparisonTerminator<DoubleValue> selectionPressureTerminator;288 286 [Storable] 289 287 private ComparisonTerminator<IntValue> evaluationsTerminator; … … 314 312 currentSuccessRatioAnalyzer = cloner.Clone(original.currentSuccessRatioAnalyzer); 315 313 generationsTerminator = cloner.Clone(original.generationsTerminator); 316 //selectionPressureTerminator = cloner.Clone(original.selectionPressureTerminator);317 314 evaluationsTerminator = cloner.Clone(original.evaluationsTerminator); 318 315 qualityTerminator = cloner.Clone(original.qualityTerminator); … … 470 467 #region Create terminators 471 468 generationsTerminator = new ComparisonTerminator<IntValue>("Generations", ComparisonType.Less, new IntValue(1000)) { Name = "Generations" }; 472 //selectionPressureTerminator = new ComparisonTerminator<DoubleValue>("SelectionPressure", ComparisonType.Less, MaximumSelectionPressureParameter);473 469 evaluationsTerminator = new ComparisonTerminator<IntValue>("EvaluatedSolutions", ComparisonType.Less, new IntValue(int.MaxValue)) { Name = "Evaluations" }; 474 470 qualityTerminator = new SingleObjectiveQualityTerminator() { Name = "Quality" }; … … 722 718 Analyzer.Operators.Add(ageAnalyzer, ageAnalyzer.EnabledByDefault); 723 719 Analyzer.Operators.Add(ageDistributionAnalyzer, ageDistributionAnalyzer.EnabledByDefault); 724 Analyzer.Operators.Add(selectionPressureAnalyzer, false); // find way to make history "pretty"720 Analyzer.Operators.Add(selectionPressureAnalyzer, false); 725 721 selectionPressureAnalyzer.ValueParameter.Depth = 1; // Adding analyzer sets depth to 2 726 722 Analyzer.Operators.Add(currentSuccessRatioAnalyzer, false); … … 774 770 var newTerminators = new Dictionary<ITerminator, bool> { 775 771 {generationsTerminator, !Terminators.Operators.Contains(generationsTerminator) || Terminators.Operators.ItemChecked(generationsTerminator)}, 776 //{selectionPressureTerminator, !Terminators.Operators.Contains(selectionPressureTerminator) || Terminators.Operators.ItemChecked(selectionPressureTerminator)},777 772 {evaluationsTerminator, Terminators.Operators.Contains(evaluationsTerminator) && Terminators.Operators.ItemChecked(evaluationsTerminator)}, 778 773 {qualityTerminator, Terminators.Operators.Contains(qualityTerminator) && Terminators.Operators.ItemChecked(qualityTerminator) }, -
stable/HeuristicLab.Algorithms.ALPS/3.3/HeuristicLab.Algorithms.ALPS-3.3.csproj
r13285 r14173 85 85 </ItemGroup> 86 86 <ItemGroup> 87 <Compile Include="AlpsOffspringSelectionGeneticAlgorithmMainLoop.cs" /> 88 <Compile Include="AlpsOffspringSelectionGeneticAlgorithm.cs" /> 87 89 <Compile Include="AlpsGeneticAlgorithmMainOperator.cs" /> 90 <Compile Include="AlpsOffspringSelectionGeneticAlgorithmMainOperator.cs" /> 91 <Compile Include="AlpsOffspringSelector.cs" /> 88 92 <Compile Include="ReseedingController.cs" /> 89 93 <Compile Include="ResultsHistoryWiper.cs" />
Note: See TracChangeset
for help on using the changeset viewer.