Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CSCE 1030: Homework 3 Due: 11:59 PM on Monday, October 29, 2017 PROGRAM DESCRIPTION: The purpose of this programming project is to write a Cs+
CSCE 1030: Homework 3 Due: 11:59 PM on Monday, October 29, 2017 PROGRAM DESCRIPTION: The purpose of this programming project is to write a Cs+ program to simulate a disease outbreak within a region disease progression in a person, and a cellular automata to represent the population in the geographic region. Your program will simulate the disease outbreakone day at a time, until no inf ectious people are left and determine how many days the outbreak lasted. You will be using an SIR model to model the BACKGROUND: In disease modeling, one of the basic models is called the SiIR model, SIR stands for Susceptible, Infectious, and Recovered, which represent the different health states a person can be in with regard to an illness. A susceptible person is someone who is not sick, but can become sick. An infectious person is someone who is sick and can infect others with the disease. A recovered person is someone who is no longer sick and has developed an immunity to the disease. For this model, we will be assuming that the immunity is permanent To simulate the disease progression across the geographic region, we will be using a cellular automata. Each cell represents one person's health state Below is an example of a region with 25 people, 24 of which are susceptible (S), and one of which is infectious (0. The above example represents the initial state of the board fi e Day 0] before the disease has begun to spread. In order to simulate the progression of the disease we need rules to determine which susceptible people (5) becomes infectious (1) on the next day For this homework, we will be determining a person's health state (S,J, or R) for the next day, based on their current health state and the current healthstates of the people around them. Specofically, a person's health state is determined by all people who are immediately adjacent to them, as can be seen in the following diagram. For this homework, a susceptible (S) person will become infectious () on the next day if any of the people they are adjacent to are infectious (1) on the current day. Additionally, we assume the region is a flat plane, so people in the comers will only have three adjacent people, people on the borders will have five adjacent people, and people in the middle will have eight adjacent people CSCE 1030: Homework 3 Due: 11:59 PM on Monday, October 29, 2017 PROGRAM DESCRIPTION: The purpose of this programming project is to write a Cs+ program to simulate a disease outbreak within a region disease progression in a person, and a cellular automata to represent the population in the geographic region. Your program will simulate the disease outbreakone day at a time, until no inf ectious people are left and determine how many days the outbreak lasted. You will be using an SIR model to model the BACKGROUND: In disease modeling, one of the basic models is called the SiIR model, SIR stands for Susceptible, Infectious, and Recovered, which represent the different health states a person can be in with regard to an illness. A susceptible person is someone who is not sick, but can become sick. An infectious person is someone who is sick and can infect others with the disease. A recovered person is someone who is no longer sick and has developed an immunity to the disease. For this model, we will be assuming that the immunity is permanent To simulate the disease progression across the geographic region, we will be using a cellular automata. Each cell represents one person's health state Below is an example of a region with 25 people, 24 of which are susceptible (S), and one of which is infectious (0. The above example represents the initial state of the board fi e Day 0] before the disease has begun to spread. In order to simulate the progression of the disease we need rules to determine which susceptible people (5) becomes infectious (1) on the next day For this homework, we will be determining a person's health state (S,J, or R) for the next day, based on their current health state and the current healthstates of the people around them. Specofically, a person's health state is determined by all people who are immediately adjacent to them, as can be seen in the following diagram. For this homework, a susceptible (S) person will become infectious () on the next day if any of the people they are adjacent to are infectious (1) on the current day. Additionally, we assume the region is a flat plane, so people in the comers will only have three adjacent people, people on the borders will have five adjacent people, and people in the middle will have eight adjacent people
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started