Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/07/14 17:15:34 (10 years ago)
Author:
bburlacu
Message:

#1772: Partially fixed fragment detection and tracing in the case of mutation.

Location:
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs

    r10462 r10822  
    2828using HeuristicLab.Data;
    2929using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    30 using HeuristicLab.EvolutionTracking;
    3130using HeuristicLab.Optimization;
    3231using HeuristicLab.Parameters;
     
    358357        op.BeforeCrossoverOperator = new SymbolicDataAnalysisExpressionBeforeCrossoverOperator();
    359358        op.AfterCrossoverOperator = new SymbolicDataAnalysisExpressionAfterCrossoverOperator();
    360         op.BeforeManipulatorOperator = new BeforeManipulatorOperator<ISymbolicExpressionTree>();
    361         op.AfterManipulatorOperator = new AfterManipulatorOperator<ISymbolicExpressionTree>();
     359        op.BeforeManipulatorOperator = new SymbolicDataAnalysisExpressionBeforeManipulatorOperator();
     360        op.AfterManipulatorOperator = new SymbolicDataAnalysisExpressionAfterManipulatorOperator();
    362361        // get crossover parameter names
    363362        var crossover = operators.OfType<ISymbolicExpressionTreeCrossover>().FirstOrDefault();
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SymbolicDataAnalysisExpressionAfterManipulatorOperator.cs

    r10755 r10822  
    3030        fragment = new Fragment<ISymbolicExpressionTreeNode> {
    3131          Root = a,
    32           Index1 = i
     32          Index1 = i,
     33          Index2 = i
    3334        };
     35        break;
    3436      }
     37
     38      //      if (fragment == null) {
     39      //        throw new Exception("SymbolicDataAnalysisExpressionAfterManipulatorOperator: Could not identify fragment");
     40      //      }
    3541
    3642      vChild.InArcs.First().Data = fragment;
Note: See TracChangeset for help on using the changeset viewer.