Free cookie consent management tool by TermsFeed Policy Generator

source: branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingData.cs @ 10183

Last change on this file since 10183 was 10182, checked in by sbreuer, 11 years ago
  • removed unneccesary namespace distinctions
  • moved statisticInfo to implementations folder
File size: 4.1 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System;
23using System.Collections;
24using System.Collections.Generic;
25using HeuristicLab.Core;
26using HeuristicLab.DataPreprocessing;
27using HeuristicLab.Problems.DataAnalysis;
28
29namespace HeuristicLab.DataPreprocessing {
30  [Item("PreprocessingData", "Represents data used for preprocessing.")]
31  public class PreprocessingData : NamedItem, IPreprocessingData {
32
33    private Dictionary<string, IList> variableValues;
34
35    public PreprocessingData(IDataAnalysisProblemData problemData)
36      : base() {
37      Name = "-";
38      foreach (var s in problemData.Dataset.VariableNames) {
39        if (problemData.Dataset.IsType<double>(s)) {
40
41        } else if (problemData.Dataset.IsType<string>(s)) {
42
43        } else if (problemData.Dataset.IsType<DateTime>(s)) {
44
45        } else {
46          throw new ArgumentException("The datatype of column " + s + "is of TODO");
47        }
48      }
49      throw new NotImplementedException();
50    }
51
52    #region NamedItem abstract Member Implementations
53
54    public override Common.IDeepCloneable Clone(Common.Cloner cloner) {
55      throw new NotImplementedException();
56    }
57
58    #endregion
59
60    #region IPreprocessingData Members
61
62    public T GetCell<T>(int columnIndex, int rowIndex) {
63      throw new NotImplementedException();
64    }
65
66    public void SetCell<T>(int columnIndex, int rowIndex, T value) {
67      throw new NotImplementedException();
68    }
69
70    public T GetCell<T>(string variableName, int row) {
71      throw new NotImplementedException();
72    }
73
74    public void SetCell<T>(string variableName, int row, T value) {
75      throw new NotImplementedException();
76    }
77
78    public IEnumerable<T> GetValues<T>(int columnIndex) {
79      throw new NotImplementedException();
80    }
81
82    public IEnumerable<T> GetValues<T>(string variableName) {
83      throw new NotImplementedException();
84    }
85
86    public void SetValues<T>(int columnIndex, IEnumerable<T> values) {
87      throw new NotImplementedException();
88    }
89
90    public void SetValues<T>(string variableName, IEnumerable<T> values) {
91      throw new NotImplementedException();
92    }
93
94    public void InsertRow(int rowIndex) {
95      throw new NotImplementedException();
96    }
97
98    public void DeleteRow(int rowIndex) {
99      throw new NotImplementedException();
100    }
101
102    public void InsertColumn(string variableName, int columnIndex) {
103      throw new NotImplementedException();
104    }
105
106    public void DeleteColumn(int columnIndex) {
107      throw new NotImplementedException();
108    }
109
110    public void DeleteColumn(string variableName) {
111      throw new NotImplementedException();
112    }
113
114    IEnumerable<string> IPreprocessingData.VariableNames {
115      get { throw new NotImplementedException(); }
116    }
117
118    public bool IsType<T>(int columnIndex) {
119      throw new NotImplementedException();
120    }
121
122    public bool IsType<T>(string variableName) {
123      throw new NotImplementedException();
124    }
125
126    public int Columns {
127      get { throw new NotImplementedException(); }
128    }
129
130    public int Rows {
131      get { throw new NotImplementedException(); }
132    }
133
134    public void ExportTo(IDataAnalysisProblemData problemData) {
135      throw new NotImplementedException();
136    }
137
138    #endregion
139  }
140}
Note: See TracBrowser for help on using the repository browser.