Changeset 10619 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/Filter/ComparisonFilter.cs
- Timestamp:
- 03/19/14 13:00:11 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/Filter/ComparisonFilter.cs
r10611 r10619 27 27 using HeuristicLab.Common; 28 28 using HeuristicLab.Data; 29 using System.Collections.Generic; 29 30 30 31 namespace HeuristicLab.DataPreprocessing.Filter … … 104 105 105 106 106 p rotected override boolCheck(object constrainedMember)107 public bool[] Check(object constrainedMember) 107 108 { 109 bool[] result = new bool[ConstrainedValue.Rows]; 110 108 111 if (!Active) 109 return false;112 return result; 110 113 111 114 for (int row = 0; row < ConstrainedValue.Rows; ++row) 112 115 { 113 114 116 object item = null; 115 117 if (ConstrainedValue.IsType<double>(constraintColumn)) … … 126 128 } 127 129 128 if (base.Check(item)) 129 return true; 130 130 result[row] = base.Check(item); 131 131 } 132 132 133 return false;133 return result; 134 134 } 135 135 136 p rotected override boolCheck(object constrainedMember, out string errorMessage)136 public bool[] Check(object constrainedMember, out string errorMessage) 137 137 { 138 138 errorMessage = string.Empty;
Note: See TracChangeset
for help on using the changeset viewer.