internal SimulationReport(IEnumerable <CompletedCaseReport> finished, HourlyReports reports) { FinishedCases = new PublicCasesReportList( finished.Select(x => new PublicCaseReport(x)).ToList()); HourlyReports = reports.AsPublicHourlyReports(); }
internal Simulation( int lengthInHours, BoardParameters boardParameters, int minimumDaysBetweenOP, int initialCaseCount, Dictionary <Hour, int> arriving) { OPSchedule opSchedule = new SimpleOPScheduler(minimumDaysBetweenOP); _board = boardParameters.MakeBoard(); _timeSpan = new SimulationTimeSpan(new Hour(0), new Hour(lengthInHours - 1)); _reports = new HourlyReports(); _arrivingCases = arriving; _assembleInitialCases(initialCaseCount); }