Changeset 17097 for stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs
- Timestamp:
- 07/07/19 23:40:10 (4 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Algorithms.DataAnalysis
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis/3.4
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs
r17054 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 using HeuristicLab.Problems.DataAnalysis; 29 29 … … 32 32 /// Represents a nearest neighbour model for regression and classification 33 33 /// </summary> 34 [Storable Class]34 [StorableType("A76C0823-3077-4ACE-8A40-E9B717C7DB60")] 35 35 [Item("NearestNeighbourModel", "Represents a nearest neighbour model for regression and classification.")] 36 36 public sealed class NearestNeighbourModel : ClassificationModel, INearestNeighbourModel { … … 66 66 67 67 [StorableConstructor] 68 private NearestNeighbourModel(bool deserializing) 69 : base(deserializing) { 70 if (deserializing) 71 kdTree = new alglib.nearestneighbor.kdtree(); 68 private NearestNeighbourModel(StorableConstructorFlag _) : base(_) { 69 kdTree = new alglib.nearestneighbor.kdtree(); 72 70 } 73 71 private NearestNeighbourModel(NearestNeighbourModel original, Cloner cloner)
Note: See TracChangeset
for help on using the changeset viewer.