Changeset 14927 for branches/PersistenceReintegration/HeuristicLab.Problems.ParameterOptimization/3.3/BestSolutionAnalyzer.cs
- Timestamp:
- 05/04/17 17:19:35 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Problems.ParameterOptimization/3.3/BestSolutionAnalyzer.cs
r14185 r14927 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;30 using HeuristicLab.Persistence; 31 31 32 32 namespace HeuristicLab.Problems.ParameterOptimization { 33 33 [Item("BestSolutionAnalyzer", "Tracks the best parameter vector solution of the current algorithm run.")] 34 [Storable Class]34 [StorableType("0f8e573f-e3ed-418c-b1e4-5a43b1745adb")] 35 35 public class BestSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer { 36 36 private const string MaximizationParameterName = "Maximization"; … … 123 123 124 124 //update best known quality 125 if (bestKnownQuality == null 125 if (bestKnownQuality == null 126 126 || max && bestQuality > bestKnownQuality.Value 127 127 || !max && bestQuality < bestKnownQuality.Value) {
Note: See TracChangeset
for help on using the changeset viewer.