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(); }
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>(); }
public StatisticsLogic(ITransactionalPreprocessingData thePreprocessingData, ISearchLogic theSearchLogic) { preprocessingData = thePreprocessingData; searchLogic = theSearchLogic; }
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(); }
public DataGridContent(ITransactionalPreprocessingData preProcessingData, ManipulationLogic theManipulationLogic, FilterLogic theFilterLogic) { ManipulationLogic = theManipulationLogic; FilterLogic = theFilterLogic; PreProcessingData = preProcessingData; }