Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/14/18 15:27:42 (6 years ago)
Author:
bburlacu
Message:

#2963: Add README.txt and remove unsupported code from benchmarks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/tools/HeuristicLab.Benchmarks/HeuristicLab.Benchmarks/Encodings.SymbolicExpressionTree/SubtreeCrossoverPerformance.cs

    r16299 r16300  
    3939    public void StandardCrossover() => TestCrossoverPerformance(StandardCrossover);
    4040
    41     [Benchmark]
    42     public void SimpleCrossoverRandom() => TestCrossoverPerformance(SimpleCrossoverRandom);
    43 
    44     [Benchmark]
    45     public void SimpleCrossoverProportional() => TestCrossoverPerformance(SimpleCrossoverProportional);
    46 
    4741    #region helper methods
    48     private void SimpleCrossoverRandom(IRandom random, ISymbolicExpressionTree par0, ISymbolicExpressionTree par1, double internalProb, int maxLength, int maxDepth)
    49       => SimpleCrossover.Cross(random, par0, par1, internalProb, maxLength, maxDepth, false, false);
    50 
    51 
    52     private void SimpleCrossoverProportional(IRandom random, ISymbolicExpressionTree par0, ISymbolicExpressionTree par1, double internalProb, int maxLength, int maxDepth)
    53       => SimpleCrossover.Cross(random, par0, par1, internalProb, maxLength, maxDepth, false, true);
    54 
    5542    private void StandardCrossover(IRandom random, ISymbolicExpressionTree par0, ISymbolicExpressionTree par1, double internalProb, int maxLength, int maxDepth)
    5643      => SubtreeCrossover.Cross(random, par0, par1, internalProb, maxLength, maxDepth);
Note: See TracChangeset for help on using the changeset viewer.