Beispiel #1
0
        public IDataAnalysisProblemData CreateNewProblemData()
        {
            var creator        = new ProblemDataCreator(this);
            var oldProblemData = ExtractProblemData(Source);
            var newProblemData = creator.CreateProblemData(oldProblemData);

            newProblemData.Name = "Preprocessed " + oldProblemData.Name;
            return(newProblemData);
        }
    public PreprocessingContext(IDataAnalysisProblemData dataAnalysisProblemData, IAlgorithm algorithm, IDataAnalysisProblem problem) {
      var transactionalPreprocessingData = new TransactionalPreprocessingData(dataAnalysisProblemData);
      Data = new FilteredPreprocessingData(transactionalPreprocessingData);

      ProblemData = dataAnalysisProblemData;
      Algorithm = algorithm;
      Problem = problem;

      creator = new ProblemDataCreator(this);
    }
Beispiel #3
0
        public PreprocessingContext(IDataAnalysisProblemData dataAnalysisProblemData, IAlgorithm algorithm, IDataAnalysisProblem problem)
        {
            var transactionalPreprocessingData = new TransactionalPreprocessingData(dataAnalysisProblemData);

            Data = new FilteredPreprocessingData(transactionalPreprocessingData);

            ProblemData = dataAnalysisProblemData;
            Algorithm   = algorithm;
            Problem     = problem;

            creator = new ProblemDataCreator(this);
        }
 public IDataAnalysisProblemData CreateNewProblemData() {
   var creator = new ProblemDataCreator(this);
   var oldProblemData = ExtractProblemData(Source);
   var newProblemData = creator.CreateProblemData(oldProblemData);
   newProblemData.Name = "Preprocessed " + oldProblemData.Name;
   return newProblemData;
 }