Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/15/19 14:52:20 (6 years ago)
Author:
abeham
Message:

#2457: adapted to trunk

Location:
branches/2457_ExpertSystem/HeuristicLab.Analysis/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2457_ExpertSystem/HeuristicLab.Analysis/3.3/BestNScopesSolutionAnalyzer.cs

    r13744 r16958  
    2020#endregion
    2121
     22using System;
     23using System.Collections.Generic;
     24using System.Linq;
     25using HEAL.Attic;
    2226using HeuristicLab.Common;
    2327using HeuristicLab.Core;
     
    2731using HeuristicLab.Optimization.Operators;
    2832using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    30 using System;
    31 using System.Collections.Generic;
    32 using System.Linq;
    3333
    3434namespace HeuristicLab.Analysis {
     
    3737  /// </summary>
    3838  [Item("BestNScopesSolutionAnalyzer", "An operator that maintains at most N scopes containing good quality solutions.")]
    39   [StorableClass]
     39  [StorableType("9E9CB06C-EFF2-4A99-9203-E334771FF613")]
    4040  public class BestNScopesSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator {
    4141
     
    8282    #region Storing & Cloning
    8383    [StorableConstructor]
    84     protected BestNScopesSolutionAnalyzer(bool deserializing) : base(deserializing) { }
     84    protected BestNScopesSolutionAnalyzer(StorableConstructorFlag _) : base(_) { }
    8585    protected BestNScopesSolutionAnalyzer(BestNScopesSolutionAnalyzer original, Cloner cloner) : base(original, cloner) { }
    8686    public override IDeepCloneable Clone(Cloner cloner) {
  • branches/2457_ExpertSystem/HeuristicLab.Analysis/3.3/Optimizers/IteratedAlgorithm.cs

    r14058 r16958  
    2020#endregion
    2121
     22using System;
     23using System.Linq;
     24using System.Threading;
     25using System.Threading.Tasks;
     26using HEAL.Attic;
    2227using HeuristicLab.Collections;
    2328using HeuristicLab.Common;
     
    2631using HeuristicLab.Optimization;
    2732using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    29 using System;
    30 using System.Linq;
    31 using System.Threading;
    32 using System.Threading.Tasks;
    3333
    3434namespace HeuristicLab.Analysis {
     
    3838  [Item("Iterated Algorithm", "An algorithm that repeats an algorithm until either a certain target value is reached or a maximum budget is exceeded.")]
    3939  [Creatable(CreatableAttribute.Categories.TestingAndAnalysis, Priority = 116)]
    40   [StorableClass]
     40  [StorableType("787AF25E-46FF-4FBF-A2ED-011E7F41AF58")]
    4141  public sealed class IteratedAlgorithm : Algorithm, IStorableContent {
    4242    private const string ExecutionTimeResultName = "Execution Time";
     
    166166
    167167    [StorableConstructor]
    168     private IteratedAlgorithm(bool deserializing) : base(deserializing) { }
     168    private IteratedAlgorithm(StorableConstructorFlag _) : base(_) { }
    169169    private IteratedAlgorithm(IteratedAlgorithm original, Cloner cloner)
    170170      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.