- Timestamp:
- 11/09/17 11:51:37 (7 years ago)
- Location:
- branches/DataPreprocessing Cleanup/HeuristicLab.DataPreprocessing/3.4/Data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing Cleanup/HeuristicLab.DataPreprocessing/3.4/Data/FilteredPreprocessingData.cs
r15431 r15466 43 43 44 44 #region Constructor, Cloning & Persistence 45 public FilteredPreprocessingData(IPreprocessingData prep orcessingData)45 public FilteredPreprocessingData(IPreprocessingData preprocessingData) 46 46 : base() { 47 originalData = prep orcessingData;47 originalData = preprocessingData; 48 48 filteredData = null; 49 49 } … … 317 317 318 318 #region Filters 319 public void SetFilter(bool[] r owFilters) {319 public void SetFilter(bool[] remainingRows) { 320 320 filteredData = (IPreprocessingData)originalData.Clone(); 321 321 filteredData.InTransaction(() => { 322 for (int row = (r owFilters.Length - 1); row >= 0; --row) {323 if ( rowFilters[row]) {322 for (int row = (remainingRows.Length - 1); row >= 0; --row) { 323 if (!remainingRows[row]) { 324 324 filteredData.DeleteRow(row); 325 325 } -
branches/DataPreprocessing Cleanup/HeuristicLab.DataPreprocessing/3.4/Data/IFilteredPreprocessingData.cs
r15270 r15466 25 25 public interface IFilteredPreprocessingData : IPreprocessingData { 26 26 #region Filters 27 void SetFilter(bool[] r owFilters);27 void SetFilter(bool[] remainingRows); 28 28 void PersistFilter(); 29 29 void ResetFilter();
Note: See TracChangeset
for help on using the changeset viewer.