- Timestamp:
- 01/22/14 14:33:36 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/DataGridContent.cs
r10313 r10369 11 11 12 12 private readonly IDataGridLogic dataGridLogic; 13 private readonly I PreprocessingDataManipulationpreprocessingDataManipulation;14 public DataGridContent(IDataGridLogic theDataGridLogic, I PreprocessingDataManipulationthePreprocessingDataManipulation) {13 private readonly IManipulationLogic preprocessingDataManipulation; 14 public DataGridContent(IDataGridLogic theDataGridLogic, IManipulationLogic thePreprocessingDataManipulation) { 15 15 dataGridLogic = theDataGridLogic; 16 16 preprocessingDataManipulation = thePreprocessingDataManipulation; … … 21 21 } 22 22 23 public I PreprocessingDataManipulationPreprocessingDataManipulation {23 public IManipulationLogic PreprocessingDataManipulation { 24 24 get { return preprocessingDataManipulation; } 25 25 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/ManipulationLogic.cs
r10367 r10369 5 5 6 6 namespace HeuristicLab.DataPreprocessing { 7 public class PreprocessingDataManipulation : IPreprocessingDataManipulation{7 public class ManipulationLogic : IManipulationLogic { 8 8 private IPreprocessingData preprocessingData; 9 9 private IStatisticsLogic statisticInfo; 10 10 private ISearchLogic searchLogic; 11 11 12 public PreprocessingDataManipulation(IPreprocessingData _prepocessingData, ISearchLogic theSearchLogic, IStatisticsLogic theStatisticsLogic) {12 public ManipulationLogic(IPreprocessingData _prepocessingData, ISearchLogic theSearchLogic, IStatisticsLogic theStatisticsLogic) { 13 13 preprocessingData = _prepocessingData; 14 14 searchLogic = theSearchLogic; -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsLogic.cs
r10367 r10369 25 25 public int GetNumericColumnCount() { 26 26 int count = 0; 27 foreach (var variableName in preprocessingData.VariableNames) { 28 if (preprocessingData.IsType<double>(variableName)) { 27 28 for (int i = 0; i < preprocessingData.Columns; ++i) { 29 if (preprocessingData.IsType<double>(i)) { 29 30 ++count; 30 31 } … … 39 40 public int GetMissingValueCount() { 40 41 int count = 0; 41 for (int i = 0; i < preprocessingData.Columns; ++i){42 for (int i = 0; i < preprocessingData.Columns; ++i) { 42 43 count += GetMissingValueCount(i); 43 44 } … … 104 105 public int GetRowMissingValueCount(int rowIndex) { 105 106 int count = 0; 106 for(int i = 0; i < preprocessingData.Columns; ++i){107 for (int i = 0; i < preprocessingData.Columns; ++i) { 107 108 if (searchLogic.IsMissingValue(i, rowIndex)) { 108 109 ++count;
Note: See TracChangeset
for help on using the changeset viewer.