Пример #1
0
        private void threadedEValueUpdater()
        {
            Console.WriteLine("Finding EValue...");
            String eValue = ExpectedValueFinder.find();

            Console.WriteLine("EValue: " + eValue);
            ExpectedValueLabel.Text = "Expected value: " + eValue;
        }
Пример #2
0
 private void calcRepEValueDeviance()
 {
     eValue                = ExpectedValueFinder.findDouble(repCount);
     sigma                 = Math.Sqrt(ExpectedValueFinder.Variance);
     eValueDeviance        = new double[ExpManager.sharedInstance.outcomes];
     eValueDeviancePercent = new double[ExpManager.sharedInstance.outcomes];
     for (int i = 0; i < unorderedResults.Length; i++)
     {
         eValueDeviance[i]         = eValue - unorderedResults[i];
         eValueDeviancePercent[i]  = eValueDeviance[i] / eValue;
         eValueDeviancePercent[i] *= 100.0;
     }
 }