Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/23/14 12:38:07 (11 years ago)
Author:
pfleck
Message:
  • Current Transformations from GUI stored in TransformationContent.
  • Corrected namespace from Transformation interfaces.
Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations
Files:
2 edited

Legend:

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

    r10740 r10772  
    2828using HeuristicLab.Data;
    2929using HeuristicLab.Problems.DataAnalysis;
     30using HeuristicLab.Problems.DataAnalysis.Transformations;
    3031
    3132namespace HeuristicLab.DataPreprocessing {
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/TransformationContent.cs

    r10614 r10772  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
     25using HeuristicLab.Problems.DataAnalysis;
     26using HeuristicLab.Problems.DataAnalysis.Transformations;
    2527
    2628namespace HeuristicLab.DataPreprocessing {
     
    2830  public class TransformationContent : Item, IViewShortcut {
    2931
    30     private readonly ITransformationLogic transformationLogic;
    31     public TransformationContent(ITransformationLogic theTransformationLogic) {
    32       transformationLogic = theTransformationLogic;
     32    public IPreprocessingData Data { get; private set; }
     33
     34    public ICheckedItemCollection<ITransformation> CheckedTransformationCollection { get; private set; }
     35
     36    public TransformationContent(IPreprocessingData data) {
     37      Data = data;
     38      CheckedTransformationCollection = new CheckedItemCollection<ITransformation>();
    3339    }
    3440
    35     public ITransformationLogic TransformationLogic {
    36       get {
    37         return transformationLogic;
    38       }
    39     }
    40 
    41     public TransformationContent(TransformationContent content, Cloner cloner)
    42       : base(content, cloner) {
    43 
     41    public TransformationContent(TransformationContent original, Cloner cloner)
     42      : base(original, cloner) {
     43      Data = original.Data;
     44      CheckedTransformationCollection = new CheckedItemCollection<ITransformation>(original.CheckedTransformationCollection);
    4445    }
    4546
Note: See TracChangeset for help on using the changeset viewer.