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.OptimizationExpertSystem.Common/3.3/Recommenders
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2457_ExpertSystem/HeuristicLab.OptimizationExpertSystem.Common/3.3/Recommenders/KNearestNeighborRecommender.cs

    r15255 r16958  
    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("A2DB464F-3F1D-47B0-944B-DE252D461A0C")]
    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/2457_ExpertSystem/HeuristicLab.OptimizationExpertSystem.Common/3.3/Recommenders/OverallBestRecommender.cs

    r13803 r16958  
    2929using System.Collections.Generic;
    3030using System.Linq;
     31using HEAL.Attic;
    3132
    3233namespace HeuristicLab.OptimizationExpertSystem.Common {
    3334  [Item("Overall Best Recommender", "")]
    34   [StorableClass]
     35  [StorableType("CCB14209-4C6F-4C72-A4D9-F803D2232CFB")]
    3536  public class OverallBestRecommender : ParameterizedNamedItem, IAlgorithmInstanceRecommender {
    3637
     
    4041   
    4142    [StorableConstructor]
    42     private OverallBestRecommender(bool deserializing) : base(deserializing) { }
     43    private OverallBestRecommender(StorableConstructorFlag _) : base(_) { }
    4344    private OverallBestRecommender(OverallBestRecommender original, Cloner cloner) : base(original, cloner) { }
    4445    public OverallBestRecommender() { }
Note: See TracChangeset for help on using the changeset viewer.