Changeset 10238 for branches/DataPreprocessing
- Timestamp:
- 12/18/13 13:27:44 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingDataManipulation.cs
r10236 r10238 11 11 private IPreprocessingData preprocessingData; 12 12 private StatisticInfo statisticInfo; 13 private ISearchLogic searchLogic; 13 14 14 15 public PreprocessingDataManipulation(IPreprocessingData _prepocessingData) { 15 16 preprocessingData = _prepocessingData; 16 17 //todo 17 statisticInfo = new StatisticInfo(preprocessingData, new SearchLogic(preprocessingData)); 18 searchLogic = new SearchLogic(preprocessingData); 19 statisticInfo = new StatisticInfo(preprocessingData,searchLogic); 20 18 21 } 19 22 … … 85 88 private int indexOfPrevPresentValue(string variableName, int start) { 86 89 int offset = start - 1; 87 while (offset >= 0 && preprocessingData.IsMissingValue(variableName, offset)){90 while (offset >= 0 && searchLogic.IsMissingValue(variableName, offset)) { 88 91 offset--; 89 92 } … … 95 98 { 96 99 int offset = start + 1; 97 while (offset < preprocessingData.Rows && preprocessingData.IsMissingValue(variableName,offset))100 while (offset < preprocessingData.Rows && searchLogic.IsMissingValue(variableName, offset)) 98 101 { 99 102 offset++;
Note: See TracChangeset
for help on using the changeset viewer.