Changeset 10849
- Timestamp:
- 05/14/14 14:26:05 (11 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/FilterView.cs
r10842 r10849 62 62 rBtnOr.Enabled = (activeFilters > 0); 63 63 btnReset.Enabled = (activeFilters > 0); 64 64 Content.FilterLogic.Reset(); 65 65 bool[] result = Content.FilterLogic.Preview(filters, rBtnAnd.Checked); 66 66 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/FilterLogic.cs
r10844 r10849 40 40 } 41 41 42 bool[] result = CreateBoolArray(preprocessingData.Rows, isAndCombination);42 bool[] result = CreateBoolArray(preprocessingData.Rows, !isAndCombination); 43 43 44 44 foreach (IFilter filter in activeFilters) { … … 62 62 63 63 public bool Result(bool current, bool addition, bool isAndCombination) { 64 return isAndCombination ? current && addition : current ||addition;64 return isAndCombination ? current || addition : current && addition; 65 65 } 66 66
Note: See TracChangeset
for help on using the changeset viewer.