Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/04/11 23:41:25 (12 years ago)
Author:
bburlacu
Message:

#1682: Implemented the MultiSymbolicDataAnalysisExpressionTreeCrossover

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gp-crossover/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionSemanticSimilarityCrossover.cs

    r7106 r7119  
    3333namespace HeuristicLab.Problems.DataAnalysis.Symbolic {
    3434
    35   [Item("SemanticSimilarityCrossover", "An operator which performs subtree swapping based on semantic similarity.")]
     35  [Item("SemanticSimilarityCrossover", "An operator which performs subtree swapping based on the semantic similarity between subtrees.")]
    3636  public sealed class SymbolicDataAnalysisExpressionSemanticSimilarityCrossover<T> : SymbolicDataAnalysisExpressionCrossover<T> where T : class, IDataAnalysisProblemData {
    3737    private const string SemanticSimilarityLowerBoundParameterName = "SemanticSimilarityLowerBound";
     
    7676      return Cross(random, parent0, parent1, interpreter, problemData, rows, MaximumSymbolicExpressionTreeDepth.Value, MaximumSymbolicExpressionTreeLength.Value, SemanticSimilarityLowerBoundParameter.Value.Value, SemanticSimilarityUpperBoundParameter.Value.Value);
    7777    }
     78
     79    public override ISymbolicExpressionTree Crossover(IRandom random, ISymbolicExpressionTree parent0, ISymbolicExpressionTree parent1) {
     80      return Cross(random, parent0, parent1);
     81    }
     82
    7883    /// <summary>
    7984    /// Takes two parent individuals P0 and P1.
     
    157162      }
    158163    }
    159 
    160164  }
    161165}
Note: See TracChangeset for help on using the changeset viewer.