Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10669


Ignore:
Timestamp:
03/26/14 15:30:12 (11 years ago)
Author:
tsteinre
Message:

Transformation: changed properties, moved to HeuristicLab.DataPreprocessing.Transformations

Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/HeuristicLab.DataPreprocessing-3.3.csproj

    r10664 r10669  
    7979    <Compile Include="Implementations\Filter\IFilter.cs" />
    8080    <Compile Include="Implementations\ManipulationLogic.cs" />
    81     <Compile Include="Implementations\Transformation.cs" />
     81    <Compile Include="Implementations\Transformations\Transformation.cs" />
    8282    <Compile Include="Interfaces\IPreprocessingData.cs" />
    8383    <Compile Include="Interfaces\IDataGridLogic.cs" />
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/Transformations/Transformation.cs

    r10668 r10669  
    2020#endregion
    2121
     22using HeuristicLab.Common;
     23using HeuristicLab.Core;
    2224using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2325
    24 namespace HeuristicLab.DataPreprocessing.Implementations {
    25   public abstract class Transformation {
     26namespace HeuristicLab.DataPreprocessing.Transformations {
     27  [Item("Transformation", "Represents the base class for a transformation.")]
     28  public abstract class Transformation : ParameterizedNamedItem {
    2629
    27     protected ITransactionalPreprocessingData preprocessingData;
     30    protected ITransactionalPreprocessingData PreprocessingData { get; private set; }
    2831
    29     protected string column;
     32    protected string Column { get; private set; }
    3033
    3134    protected Transformation(ITransactionalPreprocessingData preprocessingData, string column) {
    32       this.preprocessingData = preprocessingData;
    33       this.column = column;
     35      this.PreprocessingData = preprocessingData;
     36      this.Column = column;
     37    }
     38
     39    protected Transformation(Transformation original, Cloner cloner)
     40      : base(original, cloner) {
    3441    }
    3542
     
    3946
    4047    public abstract void Check();
     48
    4149  }
    4250}
Note: See TracChangeset for help on using the changeset viewer.