Changeset 7506 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionContextAwareCrossover.cs
- Timestamp:
- 02/23/12 16:05:57 (12 years ago)
- 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 29 29 30 30 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 31 32 31 [Item("ContextAwareCrossover", "An operator which deterministically choses the best insertion point for a randomly selected node:\n" + 33 32 "- Take two parent individuals P0 and P1\n" + … … 92 91 // perform a swap and check the quality of the solution 93 92 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); 95 95 qualities.Add(new Tuple<CutPoint, double>(crossoverPoint, quality)); 96 96 // restore the correct parent
Note: See TracChangeset
for help on using the changeset viewer.