Answered step by step
Verified Expert Solution
Link Copied!

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 0, is adjacent to a powerline in the current time step, and there are at least 2 available workers, that cells population will increase by 1 in the next time step and the available workers are assigned to that job
If a cell has a population of 0, is adjacent to at least one cell with a population of at least 1, and there are at least 2 available workers, that cells population will increase by 1 in the next time step and the available workers are assigned to that job
If a cell has a population of 1, is adjacent to at least two cells with a population of at least 1, and there are at least 2 available workers, that cells population will increase by 1 in the next time step and the available workers are assigned to that job
If a cell has a population of 2, is adjacent to at least four cells with a population of at least 2, and there are at least 2 available workers, that cells population will increase by 1 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:
1. 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)
2. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions

Question

1. What is meant by Latitudes? 2. What is cartography ?

Answered: 1 week ago

Question

What is order of reaction? Explain with example?

Answered: 1 week ago