- Timestamp:
- 04/02/14 13:14:28 (11 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/FilterView.cs
r10700 r10703 71 71 bool[] result = Content.FilterLogic.Preview(filters); 72 72 73 int filteredCnt = result.Count(c => c);73 int filteredCnt = result.Count(c => !c); 74 74 75 75 tbFiltered.Text = filteredCnt.ToString(); -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/FilterLogic.cs
r10699 r10703 43 43 bool[] result = Enumerable.Repeat<bool>(true, preprocessingData.Rows).ToArray(); 44 44 45 foreach (IFilter filter in filters)45 foreach (IFilter filter in activeFilters) 46 46 { 47 47 bool[] filterResult = filter.Check(); … … 63 63 for (int row = (results.Length - 1); row >= 0; --row) 64 64 { 65 if ( !results[row])65 if (results[row]) 66 66 { 67 67 preprocessingData.DeleteRow(row);
Note: See TracChangeset
for help on using the changeset viewer.