Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/13/21 10:25:35 (3 years ago)
Author:
gkronber
Message:

#3140: made several more changes while reviewing the branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TreeMatching/SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator.cs

    r17180 r18114  
    3838    }
    3939
    40     public bool MatchConstantValues {
    41       get { return comparer.MatchConstantValues; }
    42       set { comparer.MatchConstantValues = value; }
     40    public bool MatchParameterValues {
     41      get { return comparer.MatchParameterValues; }
     42      set { comparer.MatchParameterValues = value; }
    4343    }
    4444
     
    5959    public SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator() {
    6060      comparer = new SymbolicExpressionTreeNodeEqualityComparer {
    61         MatchConstantValues = true,
     61        MatchParameterValues = true,
    6262        MatchVariableNames = true,
    6363        MatchVariableWeights = true
     
    6565    }
    6666
    67     public SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator(bool matchVariableWeights, bool matchConstantValues) {
     67    public SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator(bool matchVariableWeights, bool matchParameterValues) {
    6868      comparer = new SymbolicExpressionTreeNodeEqualityComparer {
    69         MatchConstantValues = matchConstantValues,
     69        MatchParameterValues = matchParameterValues,
    7070        MatchVariableNames = true,
    7171        MatchVariableWeights = matchVariableWeights
Note: See TracChangeset for help on using the changeset viewer.