Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/31/19 14:40:15 (6 years ago)
Author:
abeham
Message:

#1614: updated to new persistence and .NET 4.6.1

Location:
branches/1614_GeneralizedQAP/HeuristicLab.OptimizationExpertSystem.Common/3.3/Recommenders
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1614_GeneralizedQAP/HeuristicLab.OptimizationExpertSystem.Common/3.3/Recommenders/KNearestNeighborRecommender.cs

    r15255 r16728  
    2020#endregion
    2121
     22using System.Linq;
     23using HEAL.Attic;
    2224using HeuristicLab.Common;
    2325using HeuristicLab.Core;
     
    2527using HeuristicLab.Optimization;
    2628using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using System.Linq;
    2929
    3030namespace HeuristicLab.OptimizationExpertSystem.Common {
    3131  [Item("K-Nearest Neighbor Recommender", "")]
    32   [StorableClass]
     32  [StorableType("E791B8DE-10C6-4363-909D-09DB1780254D")]
    3333  public sealed class KNearestNeighborRecommender : ParameterizedNamedItem, IAlgorithmInstanceRecommender {
    3434   
     
    4343
    4444    [StorableConstructor]
    45     private KNearestNeighborRecommender(bool deserializing) : base(deserializing) { }
     45    private KNearestNeighborRecommender(StorableConstructorFlag _) : base(_) { }
    4646    private KNearestNeighborRecommender(KNearestNeighborRecommender original, Cloner cloner) : base(original, cloner) { }
    4747    public KNearestNeighborRecommender() {
  • branches/1614_GeneralizedQAP/HeuristicLab.OptimizationExpertSystem.Common/3.3/Recommenders/OverallBestRecommender.cs

    r13803 r16728  
    2020#endregion
    2121
     22using System;
     23using System.Collections.Generic;
     24using System.Linq;
     25using HEAL.Attic;
    2226using HeuristicLab.Analysis;
    2327using HeuristicLab.Common;
     
    2529using HeuristicLab.Data;
    2630using HeuristicLab.Optimization;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using System;
    29 using System.Collections.Generic;
    30 using System.Linq;
    3131
    3232namespace HeuristicLab.OptimizationExpertSystem.Common {
    3333  [Item("Overall Best Recommender", "")]
    34   [StorableClass]
     34  [StorableType("C9DFC50D-6637-4238-B7F1-5D434A16815E")]
    3535  public class OverallBestRecommender : ParameterizedNamedItem, IAlgorithmInstanceRecommender {
    3636
     
    4040   
    4141    [StorableConstructor]
    42     private OverallBestRecommender(bool deserializing) : base(deserializing) { }
     42    private OverallBestRecommender(StorableConstructorFlag _) : base(_) { }
    4343    private OverallBestRecommender(OverallBestRecommender original, Cloner cloner) : base(original, cloner) { }
    4444    public OverallBestRecommender() { }
Note: See TracChangeset for help on using the changeset viewer.