Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/02/19 15:03:37 (5 years ago)
Author:
gkronber
Message:

#2520: checked and added StorableType attribute projects included in HeuristicLab 3.3.sln

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/TSNE/Distances/DistanceBase.cs

    r16470 r16479  
    2525using HeuristicLab.Core;
    2626using HEAL.Fossil;
    27 using HEAL.Fossil;
    2827
    2928namespace HeuristicLab.Algorithms.DataAnalysis {
     
    4443
    4544    public double Get(object x, object y) {
    46       return Get((T) x, (T) y);
     45      return Get((T)x, (T)y);
    4746    }
    4847
    4948    public IComparer GetDistanceComparer(object item) {
    50       return new DistanceComparer((T) item, this);
     49      return new DistanceComparer((T)item, this);
    5150    }
    5251
    5352    [StorableType("35fcecb5-9209-469b-9e4e-82efd8abfddf")]
    5453    internal class DistanceComparer : IComparer<T>, IComparer {
     54      [Storable]
    5555      private readonly T item;
     56      [Storable]
    5657      private readonly IDistance<T> dist;
     58
     59      [StorableConstructor]
     60      protected DistanceComparer(StorableConstructorFlag _) {
     61      }
    5762
    5863      public DistanceComparer(T item, IDistance<T> dist) {
Note: See TracChangeset for help on using the changeset viewer.