Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/06/15 00:45:30 (10 years ago)
Author:
bburlacu
Message:

#1772: Fixed compilation errors and removed leftover similarity calculators, re-added ISymbolicExpressionTreeNodeSimilarityComparer interface and PhenotypicSimilarityCalculator.

Location:
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/SymbolicDataAnalysisBottomUpDiversityAnalyzer.cs

    r11482 r11927  
    4545      set {
    4646        MatchConstantValuesParameter.Value.Value = value;
    47         ((BottomUpSimilarityCalculator)SimilarityCalculator).MatchConstantValues = value;
     47        ((SymbolicExpressionTreeBottomUpSimilarityCalculator)SimilarityCalculator).MatchConstantValues = value;
    4848      }
    4949    }
     
    5353      set {
    5454        MatchVariableWeightsParameter.Value.Value = value;
    55         ((BottomUpSimilarityCalculator)SimilarityCalculator).MatchVariableWeights = value;
     55        ((SymbolicExpressionTreeBottomUpSimilarityCalculator)SimilarityCalculator).MatchVariableWeights = value;
    5656      }
    5757    }
     
    6969
    7070    public SymbolicDataAnalysisBottomUpDiversityAnalyzer() {
    71       SimilarityCalculator = new BottomUpSimilarityCalculator { SolutionVariableName = "SymbolicExpressionTree" };
     71      SimilarityCalculator = new SymbolicExpressionTreeBottomUpSimilarityCalculator { SolutionVariableName = "SymbolicExpressionTree" };
    7272      Parameters.Add(new ValueParameter<BoolValue>(MatchConstantValuesParameterName, "Specifies if the similarity calculator should match constant values.", new BoolValue(true)));
    7373      Parameters.Add(new ValueParameter<BoolValue>(MatchVariableWeightsParameterName, "Specifies if the similarity calculator should match variable weights", new BoolValue(true)));
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/SymbolicDataAnalysisMaxCommonSubtreeDiversityAnalyzer.cs

    r11482 r11927  
    3232
    3333    public SymbolicDataAnalysisMaxCommonSubtreeDiversityAnalyzer() {
    34       SimilarityCalculator = new MaxCommonSubtreeSimilarityCalculator { SolutionVariableName = "SymbolicExpressionTree" };
     34      SimilarityCalculator = new SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator { SolutionVariableName = "SymbolicExpressionTree" };
    3535    }
    3636  }
Note: See TracChangeset for help on using the changeset viewer.