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)

Location:
branches/PersistenceReintegration/HeuristicLab.Problems.ParameterOptimization/3.3
Files:
4 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) {
  • branches/PersistenceReintegration/HeuristicLab.Problems.ParameterOptimization/3.3/BestSolutionsAnalyzer.cs

    r14185 r14927  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HeuristicLab.Persistence;
    3232
    3333namespace HeuristicLab.Problems.ParameterOptimization {
    3434  [Item("BestSolutionsAnalyzer", "Tracks the best parameter vector solutions of the current algorithm run.")]
    35   [StorableClass]
     35  [StorableType("9d24d660-94fe-4e11-baeb-9ebc7400c1fe")]
    3636  public class BestSolutionsAnalyzer : SingleSuccessorOperator, IAnalyzer {
    3737    private const string MaximizationParameterName = "Maximization";
  • branches/PersistenceReintegration/HeuristicLab.Problems.ParameterOptimization/3.3/ParameterOptimizationProblem.cs

    r14185 r14927  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131using HeuristicLab.PluginInfrastructure;
    3232
    3333namespace HeuristicLab.Problems.ParameterOptimization {
    3434  [Item("Parameter Optimization Problem", "A base class for other problems for the optimization of a parameter vector.")]
    35   [StorableClass]
     35  [StorableType("e513690d-918c-45f2-85c1-af080d576654")]
    3636  public abstract class ParameterOptimizationProblem : SingleObjectiveHeuristicOptimizationProblem<IParameterVectorEvaluator, IRealVectorCreator>, IStorableContent {
    3737    public string Filename { get; set; }
  • branches/PersistenceReintegration/HeuristicLab.Problems.ParameterOptimization/3.3/ParameterVectorEvaluator.cs

    r14185 r14927  
    2626using HeuristicLab.Operators;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Problems.ParameterOptimization {
    3131  [Item("ParameterVectorEvaluator", "An base class for other parameter vector evaluators.")]
    32   [StorableClass]
     32  [StorableType("b2d30766-075a-4f42-89ba-1369fe30aad3")]
    3333  public abstract class ParameterVectorEvaluator : SingleSuccessorOperator, IParameterVectorEvaluator {
    3434    private const string QualityParameterName = "Quality";
Note: See TracChangeset for help on using the changeset viewer.