- Timestamp:
- 07/06/14 20:15:28 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/Implementations/TransactionalPreprocessingData.cs
r11068 r11098 212 212 213 213 public override void DeleteRowsWithIndices(IEnumerable<int> rows) { 214 foreach (int rowIndex in rows) { 215 DeleteRow(rowIndex); 216 } 214 SaveSnapshot(DataPreprocessingChangedEventType.AddRow, -1, -1); 215 foreach (int rowIndex in rows.OrderByDescending(x => x)) { 216 foreach (IList column in variableValues) { 217 column.RemoveAt(rowIndex); 218 } 219 } 220 if (!IsInTransaction) 221 OnChanged(DataPreprocessingChangedEventType.DeleteRow, -1, -1); 217 222 } 218 223 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/ProblemDataCreator.cs
r11068 r11098 42 42 43 43 public IDataAnalysisProblemData CreateProblemData() { 44 if (context.Data.Rows == 0 || context.Data.Columns == 0) return null; 45 44 46 var oldProblemData = context.ProblemData; 45 46 47 IDataAnalysisProblemData problemData; 47 48
Note: See TracChangeset
for help on using the changeset viewer.