Changeset 11927 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers
- Timestamp:
- 02/06/15 00:45:30 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionDiversityPreservingCrossover.cs
r11458 r11927 54 54 public SymbolicDataAnalysisExpressionDiversityPreservingCrossover() { 55 55 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())); 57 57 } 58 58 … … 78 78 var left = actualRoot.GetSubtree(0); 79 79 var right = actualRoot.GetSubtree(1); 80 var bus = ( BottomUpSimilarityCalculator)similarityCalculator;80 var bus = (SymbolicExpressionTreeBottomUpSimilarityCalculator)similarityCalculator; 81 81 var map = bus.ComputeBottomUpMapping(left, right); 82 82
Note: See TracChangeset
for help on using the changeset viewer.