Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/11/14 12:36:39 (10 years ago)
Author:
mleitner
Message:

Refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/Implementations/CorrelationMatrixContent.cs

    r10962 r10978  
    2626
    2727namespace HeuristicLab.DataPreprocessing {
    28 
    2928  [Item("Feature Correlation Matrix", "Represents the feature correlation matrix.")]
    3029  public class CorrelationMatrixContent : Item, IViewChartShortcut {
     30    public static new Image StaticItemImage {
     31      get { return HeuristicLab.Common.Resources.VSImageLibrary.Gradient; }
     32    }
     33
     34    private IPreprocessingContext Context { get; set; }
     35    private ITransactionalPreprocessingData PreprocessingData {
     36      get { return Context.Data; }
     37    }
    3138
    3239    public DataAnalysisProblemData ProblemData {
     
    3441        var creator = new ProblemDataCreator(Context);
    3542        return (DataAnalysisProblemData)creator.CreateProblemData();
    36       } 
     43      }
    3744    }
    3845
    39     public ITransactionalPreprocessingData PreprocessingData {
    40       get {
    41         return Context.Data;
    42       }
    43     }
    44 
    45     private IPreprocessingContext Context { get; set; }
    4646    public CorrelationMatrixContent(IPreprocessingContext context) {
    4747      Context = context;
    48 
    49 
    5048    }
    5149
    5250    public CorrelationMatrixContent(CorrelationMatrixContent original, Cloner cloner)
    5351      : base(original, cloner) {
    54 
    5552    }
    56 
    57     public static new Image StaticItemImage {
    58       get { return HeuristicLab.Common.Resources.VSImageLibrary.Gradient; }
    59     }
    60 
    6153    public override IDeepCloneable Clone(Cloner cloner) {
    6254      return new CorrelationMatrixContent(this, cloner);
Note: See TracChangeset for help on using the changeset viewer.