Changeset 12049 for branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TreeMatching/SymbolicExpressionTreePhenotypicSimilarityCalculator.cs
- Timestamp:
- 02/21/15 15:55:47 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TreeMatching/SymbolicExpressionTreePhenotypicSimilarityCalculator.cs
r12029 r12049 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 63 63 64 64 public override double CalculateSolutionSimilarity(IScope leftSolution, IScope rightSolution) { 65 if (leftSolution == rightSolution) 66 return 1.0; 67 65 68 var leftValues = (DoubleArray)leftSolution.Variables["EstimatedValues"].Value; 66 69 var rightValues = (DoubleArray)rightSolution.Variables["EstimatedValues"].Value;
Note: See TracChangeset
for help on using the changeset viewer.