- Timestamp:
- 03/19/14 16:10:48 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/HeuristicLab.DataPreprocessing-3.3.csproj
r10625 r10638 22 22 <ErrorReport>prompt</ErrorReport> 23 23 <WarningLevel>4</WarningLevel> 24 <UseVSHostingProcess>false</UseVSHostingProcess> 24 25 </PropertyGroup> 25 26 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> -
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 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IFilterLogic.cs
r10620 r10638 24 24 namespace HeuristicLab.DataPreprocessing { 25 25 public interface IFilterLogic { 26 bool[] Preview(IList<ComparisonFilter> filters); 27 void Apply(IList<ComparisonFilter> filters); 26 bool[] Preview(IList<IFilter> filters); 27 void Apply(IList<IFilter> filters); 28 IPreprocessingData PreprocessingData{get;} 28 29 } 29 30 }
Note: See TracChangeset
for help on using the changeset viewer.