public void calculate(List <Guess> originalList, RunLists lists) { all.calculate(originalList); correct.calculate(lists.correct); incorrect.calculate(lists.incorrect); positiveAll.calculate(lists.positive); negativeAll.calculate(lists.negative); positiveCorrect.calculate(lists.positiveCorrect); negativeCorrect.calculate(lists.negativeCorrect); positiveIncorrect.calculate(lists.positiveIncorrect); negativeIncorrect.calculate(lists.negativeIncorrect); }
void calculate_adjusted() { adjustedGuesses = guesses.Select(g => g.Clone()).ToList(); RunLists adjustedLists = new RunLists(); adjustedLists.fill(adjustedGuesses); foreach (var guess in adjustedGuesses) { if (guess.correct == false) { guess.duration = penalties.penaltyAmount; } } statsAdjusted.calculate(adjustedGuesses, adjustedLists); }