Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs
- Timestamp:
- 12/28/18 16:10:48 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs
r16453 r16462 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 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.