- Timestamp:
- 01/02/19 15:03:37 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/RegressionTreeModel.cs
r16470 r16479 29 29 using HeuristicLab.Core; 30 30 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 31 using HEAL.Fossil;32 31 using HeuristicLab.Problems.DataAnalysis; 33 32 using HeuristicLab.Problems.DataAnalysis.Symbolic; -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/TSNE/Distances/DistanceBase.cs
r16470 r16479 25 25 using HeuristicLab.Core; 26 26 using HEAL.Fossil; 27 using HEAL.Fossil;28 27 29 28 namespace HeuristicLab.Algorithms.DataAnalysis { … … 44 43 45 44 public double Get(object x, object y) { 46 return Get((T) x, (T)y);45 return Get((T)x, (T)y); 47 46 } 48 47 49 48 public IComparer GetDistanceComparer(object item) { 50 return new DistanceComparer((T) 49 return new DistanceComparer((T)item, this); 51 50 } 52 51 53 52 [StorableType("35fcecb5-9209-469b-9e4e-82efd8abfddf")] 54 53 internal class DistanceComparer : IComparer<T>, IComparer { 54 [Storable] 55 55 private readonly T item; 56 [Storable] 56 57 private readonly IDistance<T> dist; 58 59 [StorableConstructor] 60 protected DistanceComparer(StorableConstructorFlag _) { 61 } 57 62 58 63 public DistanceComparer(T item, IDistance<T> dist) {
Note: See TracChangeset
for help on using the changeset viewer.