Changeset 10978 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/Implementations/CorrelationMatrixContent.cs
- Timestamp:
- 06/11/14 12:36:39 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/Implementations/CorrelationMatrixContent.cs
r10962 r10978 26 26 27 27 namespace HeuristicLab.DataPreprocessing { 28 29 28 [Item("Feature Correlation Matrix", "Represents the feature correlation matrix.")] 30 29 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 } 31 38 32 39 public DataAnalysisProblemData ProblemData { … … 34 41 var creator = new ProblemDataCreator(Context); 35 42 return (DataAnalysisProblemData)creator.CreateProblemData(); 36 } 43 } 37 44 } 38 45 39 public ITransactionalPreprocessingData PreprocessingData {40 get {41 return Context.Data;42 }43 }44 45 private IPreprocessingContext Context { get; set; }46 46 public CorrelationMatrixContent(IPreprocessingContext context) { 47 47 Context = context; 48 49 50 48 } 51 49 52 50 public CorrelationMatrixContent(CorrelationMatrixContent original, Cloner cloner) 53 51 : base(original, cloner) { 54 55 52 } 56 57 public static new Image StaticItemImage {58 get { return HeuristicLab.Common.Resources.VSImageLibrary.Gradient; }59 }60 61 53 public override IDeepCloneable Clone(Cloner cloner) { 62 54 return new CorrelationMatrixContent(this, cloner);
Note: See TracChangeset
for help on using the changeset viewer.