Changeset 12064 for branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TreeMatching
- Timestamp:
- 02/23/15 18:15:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TreeMatching/SymbolicExpressionTreePhenotypicSimilarityCalculator.cs
r12055 r12064 31 31 [StorableClass] 32 32 public class SymbolicExpressionTreePhenotypicSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 33 [Storable] 33 34 public IDataAnalysisProblemData ProblemData { get; set; } 35 [Storable] 34 36 public ISymbolicDataAnalysisExpressionTreeInterpreter Interpreter { get; set; } 35 37 … … 39 41 public SymbolicExpressionTreePhenotypicSimilarityCalculator(SymbolicExpressionTreePhenotypicSimilarityCalculator original, Cloner cloner) 40 42 : base(original, cloner) { 41 this.ProblemData = original.ProblemData;42 this.Interpreter = original.Interpreter;43 this.ProblemData = cloner.Clone(original.ProblemData); 44 this.Interpreter = cloner.Clone(original.Interpreter); 43 45 } 44 46 … … 47 49 } 48 50 49 public SymbolicExpressionTreePhenotypicSimilarityCalculator() { } 51 public SymbolicExpressionTreePhenotypicSimilarityCalculator() { 52 } 50 53 51 54 public double CalculateSimilarity(ISymbolicExpressionTree t1, ISymbolicExpressionTree t2) {
Note: See TracChangeset
for help on using the changeset viewer.