Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Instructions For this project, you and your group will be designing and implementing a system in C or C + + , that will simulate
Instructions
For this project, you and your group will be designing and implementing a system in C or C that will simulate the growth of a city over time. Specifically, you will be simulating the growth of residential, commercial, and industrial zones, and seeing how pollution impacts the overall development..Industrial
If a cell has a population of is adjacent to a powerline in the current time step, and there are at least available workers, that cells population will increase by in the next time step and the available workers are assigned to that job
If a cell has a population of is adjacent to at least one cell with a population of at least and there are at least available workers, that cells population will increase by in the next time step and the available workers are assigned to that job
If a cell has a population of is adjacent to at least two cells with a population of at least and there are at least available workers, that cells population will increase by in the next time step and the available workers are assigned to that job
If a cell has a population of is adjacent to at least four cells with a population of at least and there are at least available workers, that cells population will increase by in the next time step and the available workers are assigned to that job
A cell produces pollution equal to its population, and pollution spreads to all adjacent cells at a rate of one less unit of pollution per cell away from the source
The industrial population provides goods to the commercial zones, at a rate of one good per population, but each good can only be sold at one commercial cell.Final Project Submission
Your program must provide all requested functionality. At least one group member must submit a zip file containing the
following:
All files necessary to compile and run your program Please do not include any files not necessary to run the
program on the CSE machines
A txt format README file explaining how to compile and run your program. im gonna be doing industrial part what shall the coding might look like here and also the output
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