Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/05/14 13:46:33 (10 years ago)
Author:
pfleck
Message:
  • Removed cloning of ProblemData. Instead the new ProblemData is instanciated based on the old type.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingContext.cs

    r10383 r10536  
    7979
    8080    private IDataAnalysisProblem SetupAlgorithm(IAlgorithm algorithm) {
    81       algorithm.Name = "Cloned " + algorithm.Name;
     81      algorithm.Name = algorithm.Name + "(Preprocessed)";
    8282      algorithm.Runs.Clear();
    8383
     
    8585    }
    8686
    87     private T Export<T>(T original, Func<T, IDataAnalysisProblem> setup) where T : IItem {
     87    private T Export<T>(T original, Func<T, IDataAnalysisProblem> setup)
     88        where T : IItem {
    8889      var creator = new ProblemDataCreator(this);
    8990      var data = creator.CreateProblemData();
     
    9394      var problem = setup(clone);
    9495      problem.ProblemDataParameter.ActualValue = data;
    95       problem.Name = "Cloned " + problem.Name;
     96      problem.Name = "Preprocessed " + problem.Name;
    9697
    9798      return clone;
Note: See TracChangeset for help on using the changeset viewer.