- Timestamp:
- 04/02/14 11:44:22 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/FilterLogic.cs
r10692 r10696 35 35 public bool[] Preview(IList<IFilter> filters) 36 36 { 37 IList<IFilter> activeFilters = filters.Where(f => f.Active && f.ConstraintData != null).ToList<IFilter>(); 38 39 if (activeFilters.Count == 0) { 40 return new bool[preprocessingData.Rows]; 41 } 42 37 43 bool[] result = Enumerable.Repeat<bool>(true, preprocessingData.Rows).ToArray(); 38 44 39 45 foreach (IFilter filter in filters) 40 46 { 41 if (filter.ConstraintData == null || !filter.Active) {42 continue;43 }44 45 47 bool[] filterResult = filter.Check(); 46 48
Note: See TracChangeset
for help on using the changeset viewer.