Changeset 18146 for branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TreeMatching/SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator.cs
- Timestamp:
- 12/16/21 14:23:48 (2 years ago)
- Location:
- branches/3136_Structural_GP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP
- Property svn:mergeinfo changed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TreeMatching/SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator.cs
r17180 r18146 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.