예제 #1
0
        public SearchLogic(ITransactionalPreprocessingData thePreprocessingData, IFilterLogic theFilterLogic)
        {
            preprocessingData = thePreprocessingData;
            filterLogic       = theFilterLogic;

            MissingValueIndicies = new Dictionary <int, IList <int> >();
            ValuesWithoutNaN     = new Dictionary <int, IList>();

            preprocessingData.Changed += PreprocessingData_Changed;
            filterLogic.FilterChanged += FilterLogic_FilterChanged;
        }
 public void SetFilter(bool[] rowFilters)
 {
     filteredData = (ITransactionalPreprocessingData)originalData.Clone();
     filteredData.InTransaction(() => {
         for (int row = (rowFilters.Length - 1); row >= 0; --row)
         {
             if (rowFilters[row])
             {
                 filteredData.DeleteRow(row);
             }
         }
     });
     OnFilterChanged();
 }
예제 #3
0
 public PreprocessingTransformator(IPreprocessingData preprocessingData)
 {
     this.preprocessingData = (ITransactionalPreprocessingData)preprocessingData;
     originalColumns        = new Dictionary <string, IList <double> >();
     renamedColumns         = new Dictionary <string, string>();
 }
 public ManipulationLogic(ITransactionalPreprocessingData _prepocessingData, SearchLogic theSearchLogic, StatisticsLogic theStatisticsLogic)
 {
     preprocessingData = _prepocessingData;
     searchLogic       = theSearchLogic;
     statisticsLogic   = theStatisticsLogic;
 }
 public PreprocessingTransformator(IPreprocessingData preprocessingData) {
   this.preprocessingData = (ITransactionalPreprocessingData)preprocessingData;
   originalColumns = new Dictionary<string, IList<double>>();
   renamedColumns = new Dictionary<string, string>();
 }
예제 #6
0
 public StatisticsLogic(ITransactionalPreprocessingData thePreprocessingData, ISearchLogic theSearchLogic)
 {
     preprocessingData = thePreprocessingData;
     searchLogic       = theSearchLogic;
 }
예제 #7
0
 public DataGridContent(ITransactionalPreprocessingData preProcessingData, IManipulationLogic theManipulationLogic, IFilterLogic theFilterLogic)
 {
     ManipulationLogic = theManipulationLogic;
     FilterLogic       = theFilterLogic;
     PreProcessingData = preProcessingData;
 }
 protected FilteredPreprocessingData(FilteredPreprocessingData original, Cloner cloner)
     : base(original, cloner)
 {
     originalData = original.originalData;
     filteredData = original.filteredData;
 }
 public FilteredPreprocessingData(ITransactionalPreprocessingData preporcessingData)
     : base()
 {
     originalData = preporcessingData;
     filteredData = null;
 }
 public void ResetFilter()
 {
     filteredData = null;
     OnFilterChanged();
 }
예제 #11
0
 public DataGridContent(ITransactionalPreprocessingData preProcessingData, ManipulationLogic theManipulationLogic, FilterLogic theFilterLogic) {
   ManipulationLogic = theManipulationLogic;
   FilterLogic = theFilterLogic;
   PreProcessingData = preProcessingData;
 }