Ejemplo n.º 1
0
 public SimulationResultsDictionaryNewValueReceivedEventArgs(int predictorIndex, int benchmarkIndex, BenchmarkStatisticsResult value, BenchmarkStatisticsCollection collection)
 {
     this.predictorIndex          = predictorIndex;
     this.benchmarkIndex          = benchmarkIndex;
     this.value                   = value;
     this.correspondingCollection = collection;
 }
Ejemplo n.º 2
0
 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);
     }
 }