Changeset 16956 for branches/2457_ExpertSystem/HeuristicLab.Analysis/3.3/PopulationSimilarityAnalysis/PopulationSimilarityAnalyzer.cs
- Timestamp:
- 05/15/19 13:36:51 (5 years ago)
- Location:
- branches/2457_ExpertSystem/HeuristicLab.Analysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2457_ExpertSystem/HeuristicLab.Analysis
- Property svn:mergeinfo changed
-
branches/2457_ExpertSystem/HeuristicLab.Analysis/3.3/PopulationSimilarityAnalysis/PopulationSimilarityAnalyzer.cs
r16075 r16956 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. … … 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 33 33 namespace HeuristicLab.Analysis { … … 36 36 /// </summary> 37 37 [Item("PopulationSimilarityAnalyzer", "An operator for analyzing the solution similarity in a population.")] 38 [Storable Class]38 [StorableType("56A495B0-573F-421A-99E2-24D67D8DB686")] 39 39 public class PopulationSimilarityAnalyzer : SingleSuccessorOperator, IAnalyzer, ISimilarityBasedOperator { 40 40 private const string DiversityResultNameParameterName = "DiversityResultsName"; … … 44 44 #region Backwards compatible code, remove with 3.4 45 45 private ISolutionSimilarityCalculator oldSimilarityCalculator; 46 [Storable( AllowOneWay = true,Name = "SimilarityCalculator")]46 [Storable(OldName = "SimilarityCalculator")] 47 47 [Obsolete] 48 48 private ISolutionSimilarityCalculator SimilarityCalculator { set { oldSimilarityCalculator = value; } } … … 96 96 97 97 [StorableConstructor] 98 protected PopulationSimilarityAnalyzer( bool deserializing) : base(deserializing) { }98 protected PopulationSimilarityAnalyzer(StorableConstructorFlag _) : base(_) { } 99 99 100 100 protected PopulationSimilarityAnalyzer(PopulationSimilarityAnalyzer original, Cloner cloner)
Note: See TracChangeset
for help on using the changeset viewer.