Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (7 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Problems.ParameterOptimization/3.3/BestSolutionAnalyzer.cs

    r14185 r14927  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131
    3232namespace HeuristicLab.Problems.ParameterOptimization {
    3333  [Item("BestSolutionAnalyzer", "Tracks the best parameter vector solution of the current algorithm run.")]
    34   [StorableClass]
     34  [StorableType("0f8e573f-e3ed-418c-b1e4-5a43b1745adb")]
    3535  public class BestSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer {
    3636    private const string MaximizationParameterName = "Maximization";
     
    123123
    124124      //update best known quality
    125       if (bestKnownQuality == null 
     125      if (bestKnownQuality == null
    126126        || max && bestQuality > bestKnownQuality.Value
    127127        || !max && bestQuality < bestKnownQuality.Value) {
Note: See TracChangeset for help on using the changeset viewer.