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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionDiversityPreservingCrossover.cs

    r11458 r11927  
    5454    public SymbolicDataAnalysisExpressionDiversityPreservingCrossover() {
    5555      Parameters.Add(new ValueLookupParameter<PercentValue>(InternalCrossoverPointProbabilityParameterName, "The probability to select an internal crossover point (instead of a leaf node).", new PercentValue(0.9)));
    56       Parameters.Add(new ValueParameter<ISymbolicDataAnalysisExpressionSimilarityCalculator>(SimilarityCalculatorParameterName, "The similarity calculator", new BottomUpSimilarityCalculator()));
     56      Parameters.Add(new ValueParameter<ISymbolicDataAnalysisExpressionSimilarityCalculator>(SimilarityCalculatorParameterName, "The similarity calculator", new SymbolicExpressionTreeBottomUpSimilarityCalculator()));
    5757    }
    5858
     
    7878      var left = actualRoot.GetSubtree(0);
    7979      var right = actualRoot.GetSubtree(1);
    80       var bus = (BottomUpSimilarityCalculator)similarityCalculator;
     80      var bus = (SymbolicExpressionTreeBottomUpSimilarityCalculator)similarityCalculator;
    8181      var map = bus.ComputeBottomUpMapping(left, right);
    8282
Note: See TracChangeset for help on using the changeset viewer.