public SimStatusOnePlan( People people, PlanFeatures planFeatures, TrialEventSet trialEvents) { People = people; PlanFeatures = planFeatures; TrialEvents = trialEvents; DeductiblePaidYtd = new Dictionary <string, int>(); OutOfPocketYtd = new Dictionary <string, int>(); foreach (var person in People.Names) { DeductiblePaidYtd.Add(person, 0); OutOfPocketYtd.Add(person, 0); } }
public HealthInsuranceSimulator( string peoplePath, string trialEventsPath, string[] planFeaturesPaths) { _trialEventsCsvPath = trialEventsPath; _planFeaturesCsvPaths = planFeaturesPaths; _peopleCsvPath = peoplePath; People = new People(peoplePath); TrialEvents = new TrialEventSet(trialEventsPath, People); SimStatusPerPlan = new List <SimStatusOnePlan>(); foreach (var planFeaturesPath in planFeaturesPaths) { var planFeatures = new PlanFeatures(planFeaturesPath); var simStatusThisPlan = new SimStatusOnePlan(People, planFeatures, TrialEvents); SimStatusPerPlan.Add(simStatusThisPlan); } }