public SimulationResultsDictionaryNewValueReceivedEventArgs(int predictorIndex, int benchmarkIndex, BenchmarkStatisticsResult value, BenchmarkStatisticsCollection collection) { this.predictorIndex = predictorIndex; this.benchmarkIndex = benchmarkIndex; this.value = value; this.correspondingCollection = collection; }
public BenchmarkStatisticsCollection addPredictor(PredictorInfo predictor) { try { predictorIndexMap.Add(predictor, numberOfPredictors++); BenchmarkStatisticsCollection benchmarkStatisticsCollection = new BenchmarkStatisticsCollection(); observableCollections.Add(predictor, benchmarkStatisticsCollection); return(benchmarkStatisticsCollection); } catch (Exception e) { return(null); } }