Changeset 18114 for branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TreeMatching/SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator.cs
- Timestamp:
- 12/13/21 10:25:35 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TreeMatching/SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator.cs
r17180 r18114 38 38 } 39 39 40 public bool Match ConstantValues {41 get { return comparer.Match ConstantValues; }42 set { comparer.Match ConstantValues = value; }40 public bool MatchParameterValues { 41 get { return comparer.MatchParameterValues; } 42 set { comparer.MatchParameterValues = value; } 43 43 } 44 44 … … 59 59 public SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator() { 60 60 comparer = new SymbolicExpressionTreeNodeEqualityComparer { 61 Match ConstantValues = true,61 MatchParameterValues = true, 62 62 MatchVariableNames = true, 63 63 MatchVariableWeights = true … … 65 65 } 66 66 67 public SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator(bool matchVariableWeights, bool match ConstantValues) {67 public SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator(bool matchVariableWeights, bool matchParameterValues) { 68 68 comparer = new SymbolicExpressionTreeNodeEqualityComparer { 69 Match ConstantValues = matchConstantValues,69 MatchParameterValues = matchParameterValues, 70 70 MatchVariableNames = true, 71 71 MatchVariableWeights = matchVariableWeights
Note: See TracChangeset
for help on using the changeset viewer.