Wednesday October 23, 2013
This problem concerns a model of the spread of a fire through a forest, à la http://shodor.org/interactivate/activities/Fire.
Your forest fire model should include a grid of 80x80 trees. The fire should start at a random location in the grid. Each time step, if a non-burning tree is next to a burning tree, it has some percent chance of itself catching fire. Trees take 5 time steps to burn out.
The percent chance of catching fire should be an input to your model. The model should output the state of the grid at each time step.
Include a README that explains how you represent the states of trees in your output and how to run your model. The README should also explain your approach to solving the problem.
The percent chance of catching fire should be an input to your model. The model should output the state of the grid at each time step.
Include a README that explains how you represent the states of trees in your output and how to run your model. The README should also explain your approach to solving the problem.
Show solution
Challenge Resources:
Forest Fire zip file
—
zip file containing the C code for a solution to the Forest Fire challenge problem.
©1994-2024
|
Shodor
|
Privacy Policy
|
NSDL
|
XSEDE
|
Blue Waters
|
ACM SIGHPC
|
|
|
|
|
|
XSEDE Code of Conduct
|
Not Logged In. Login