private PatientStatistics fetchSimulationResult()
 {
     VirusSimulation virusSimulation = new VirusSimulation();
     if (Medications != null && Medications.Count > 0)
     {
         virusSimulation.InitSimulation(Medications);
     }
     else
     {
         virusSimulation.InitSimulation(null);
     }
     return virusSimulation.RunSimulation(NumberOfDays);
 }
Exemple #2
0
        private PatientStatistics fetchSimulationResult()
        {
            VirusSimulation virusSimulation = new VirusSimulation();

            virusSimulation.InitSimulation(AmountOfCells, AmountOfInitialViruses, VirusDisconnectionProbability, VirusGrowthProbability);
            return(virusSimulation.RunSimulation(NumberOfDays));
        }