Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/23/12 16:05:57 (12 years ago)
Author:
mkommend
Message:

#1682: Integrated new gp crossovers into the trunk and corrected the parameter wiring.

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers
Files:
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionContextAwareCrossover.cs

    r7503 r7506  
    2929
    3030namespace HeuristicLab.Problems.DataAnalysis.Symbolic {
    31 
    3231  [Item("ContextAwareCrossover", "An operator which deterministically choses the best insertion point for a randomly selected node:\n" +
    3332                                 "- Take two parent individuals P0 and P1\n" +
     
    9291          // perform a swap and check the quality of the solution
    9392          Swap(crossoverPoint, selectedChild);
    94           double quality = evaluator.Evaluate(context, parent0, problemData, rows);
     93          IExecutionContext childContext = new ExecutionContext(context, evaluator, context.Scope);
     94          double quality = evaluator.Evaluate(childContext, parent0, problemData, rows);
    9595          qualities.Add(new Tuple<CutPoint, double>(crossoverPoint, quality));
    9696          // restore the correct parent
Note: See TracChangeset for help on using the changeset viewer.