- Timestamp:
- 03/19/14 16:10:48 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/Filter/IFilter.cs
r10589 r10638 7 7 namespace HeuristicLab.DataPreprocessing.Filter 8 8 { 9 public interface IFilter : I Item9 public interface IFilter : IConstraint 10 10 { 11 bool[] Check(); 12 bool[] Check(out string errorMessage); 11 13 } 12 14 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/FilterLogic.cs
r10620 r10638 32 32 33 33 34 public bool[] Preview(IList< ComparisonFilter> filters)34 public bool[] Preview(IList<IFilter> filters) 35 35 { 36 36 bool[] result = new bool[preprocessingData.Rows]; 37 37 38 foreach (ComparisonFilter filter in filters) { 38 foreach (IFilter filter in filters) 39 { 39 40 bool[] filterResult = filter.Check(); 40 41 … … 47 48 } 48 49 49 public void Apply(IList< ComparisonFilter> filters)50 public void Apply(IList<IFilter> filters) 50 51 { 51 52 bool[] results = Preview(filters); … … 58 59 } 59 60 } 61 62 63 public IPreprocessingData PreprocessingData 64 { 65 get { return preprocessingData; } 66 } 60 67 } 61 68 }
Note: See TracChangeset
for help on using the changeset viewer.