{"id":1651,"date":"2015-08-07T08:43:52","date_gmt":"2015-08-07T00:43:52","guid":{"rendered":"http:\/\/www.jdcui.com\/?p=1651"},"modified":"2026-02-18T21:28:39","modified_gmt":"2026-02-18T13:28:39","slug":"cellular-automata-forest-fire-model-%e5%85%83%e5%8c%85%e8%87%aa%e5%8a%a8%e6%9c%ba%e6%a3%ae%e6%9e%97%e7%81%ab%e7%81%be%e6%a8%a1%e5%9e%8b","status":"publish","type":"post","link":"http:\/\/www.jdcui.com\/?p=1651","title":{"rendered":"[\u6e38\u620f\u7f16\u7a0b] Cellular Automata Forest Fire Model [\u5143\u5305\u81ea\u52a8\u673a\u68ee\u6797\u706b\u707e\u6a21\u578b]"},"content":{"rendered":"<p><strong>\u5143\u5305\u81ea\u52a8\u673a<\/strong>\uff08<span style=\"color: #0000ff;\"><strong>Cellular Automata<\/strong><\/span>\uff09\u8fd9\u91cc\u5c31\u4e0d\u4ecb\u7ecd\u4e86\uff0c\u53ef\u4ee5\u5728\u6211\u7684\u5176\u4ed6\u535a\u6587\u4e2d\u4e86\u89e3\u5230\uff0c\u6709\u5174\u8da3\u7684\u670b\u53cb\u4e5f\u53ef\u4ee5\u53bb\u767e\u5ea6\u4e00\u5207\u3002\u8fd9\u91cc\u5229\u7528\u5143\u5305\u81ea\u52a8\u673a\u8fdb\u884c<strong>\u68ee\u6797\u706b\u707e\u8513\u5ef6<\/strong>\u6a21\u62df\uff0c\u5f53\u7136\u8fd9\u80af\u5b9a\u4e0d\u662f\u57fa\u4e8e\u7269\u7406\u7684\u6a21\u62df\u4e86\u3002\u6700\u7b80\u5355\u7684\u57fa\u4e8e\u5143\u5305\u81ea\u52a8\u673a\u7684<strong>\u68ee\u6797\u706b\u707e\u6a21\u578b\uff08<\/strong><span style=\"color: #0000ff;\"><strong>Cellular Automata\u00a0Forest Fire Model\uff09<\/strong><\/span>\u5927\u5bb6\u53ef\u4ee5\u5728\u8fd9\u4e2a\u7f51\u7ad9\u00a0<strong><a href=\"http:\/\/schuelaw.whitman.edu\/JavaApplets\/ForestFireApplet\/\" target=\"_blank\" rel=\"noopener noreferrer\">Cellular Automata Forest Fire Model <\/a><\/strong>\u4e86\u89e3\u5230\uff0c\u4f5c\u8005\u7528Java\u5199\u4e86\u5c0f\u7a0b\u5e8f\u8fdb\u884c\u6a21\u62df\u3002<\/p>\n<p><strong>\u68ee\u6797\u706b\u707e\u6a21\u578b\u4ecb\u7ecd\uff08<span style=\"color: #0000ff;\">The rules\u00a0of Cellular Automata\u00a0Forest Fire Model<\/span>\uff09<\/strong>\uff1a<\/p>\n<ul style=\"list-style-type: square;\">\n<li>\u71c3\u70e7\u7684\u6811\uff08\u7ea2\u8272\u683c\u5b50\uff09\u4f1a\u5728\u4e0b\u4e00\u6b65\u53d8\u6210\u7a7a\u5730\uff08\u767d\u8272\u683c\u5b50\uff09\u3002<span style=\"color: #0000ff;\">A burning tree (red\u00a0cell) becomes an empty site (white\u00a0cell)<\/span>\u3002<\/li>\n<li>\u5982\u679c\u4e00\u9897\u975e\u71c3\u70e7\u7684\u6811\uff08\u7eff\u8272\u683c\u5b50\uff09\u5468\u56f4\u6709\u6811\u71c3\u70e7\uff0c\u90a3\u4e48\u5b83\u4f1a\u5728\u4e0b\u4e00\u6b65\u53d8\u6210\u71c3\u70e7\u7684\u6811\uff08\u767d\u8272\u683c\u5b50\uff09\u3002<span style=\"color: #0000ff;\">A tree (green cell) becomes a burning tree (white cell) if at least one of its nearest neighbors is burning.<\/span><\/li>\n<li>\u4e00\u7247\u7a7a\u5730\uff08\u767d\u8272\u683c\u5b50\uff09\u4ee5\u6982\u7387 <strong>pGrowth<\/strong> \u53d8\u6210\u6811\u6728\uff08\u7eff\u8272\u683c\u5b50\uff09\u3002<span style=\"color: #0000ff;\">At an empty site (brown cell), a tree grows with probability <strong>pGrowth<\/strong> .<\/span><\/li>\n<li>\u5982\u679c\u975e\u71c3\u70e7\u7684\u6811\uff08\u7eff\u8272\u683c\u5b50\uff09\u5468\u56f4\u4e0d\u5b58\u5728\u6811\u71c3\u70e7\uff0c\u90a3\u4e48\u5b83\u5c06\u4ee5 <strong>pLightening<\/strong> \u7684\u6982\u7387\u906d\u53d7\u96f7\u51fb\uff08 <span style=\"color: #000000;\">lightening strike<\/span>\uff09\u5e76\u53d8\u6210\u4e00\u9897\u71c3\u70e7\u7684\u6811\uff08\u7ea2\u8272\u683c\u5b50\uff09\u3002<span style=\"color: #0000ff;\">A tree without a burning nearest neighbor becomes a burning tree with probability <strong>pLightening<\/strong> (e.g. lightening strike).<\/span><\/li>\n<\/ul>\n<p><strong>\u6839\u636e\u4ee5\u4e0a\u89c4\u5219\uff0c\u7f16\u5199\u5c0f\u7a0b\u5e8f\uff08<span style=\"color: #0000ff;\">Following the above principle, we can programme the\u00a0Cellular Automata Forest Fire Model<\/span> \uff09<\/strong>\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1672\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2015\/08\/CAFire_Begin.png\" alt=\"CAFire_Begin\" width=\"572\" height=\"411\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1663\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2015\/08\/CAFire_1.png\" alt=\"CAFire_1\" width=\"580\" height=\"420\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1664\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2015\/08\/CAFire_2.png\" alt=\"CAFire_2\" width=\"580\" height=\"420\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1665\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2015\/08\/CAFire_3.png\" alt=\"CAFire_3\" width=\"580\" height=\"420\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1666\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2015\/08\/CAFire_4.png\" alt=\"CAFire_4\" width=\"580\" height=\"420\" \/><br \/>\n<strong>\u8bf4\u660e <strong>\uff08<\/strong><span style=\"color: #0000ff;\">Help<span style=\"color: #000000;\">\uff09<\/span><\/span>\uff1a<\/strong><\/p>\n<ul style=\"list-style-type: square;\">\n<li><strong>pGrowth<\/strong> = 0.02 ;\u00a0 <strong>pLightening<\/strong> = 0.00006;<\/li>\n<li>\u9f20\u6807\/\u7a7a\u683c\u952e \u505c\u6b62\u6216\u8005\u5f00\u59cb\u3002<span style=\"color: #0000ff;\">(<strong>Press\u00a0SPACE BAR \/ Click Mouse<\/strong> to pause or to begin.)<\/span><\/li>\n<li>\u952e\u76d8&#8221;R&#8221;\u952e \u91cd\u65b0\u968f\u673a\u751f\u6210\u751f\u547d\u3002<span style=\"color: #0000ff;\">(<strong>Press R<\/strong> to randomly reset the state of all the cells.)<\/span><\/li>\n<li>\u7ea2\u8272\u8868\u793a\u65b0\u589e\u52a0\u7684\u751f\u547d\u3002<span style=\"color: #0000ff;\">(<strong>Red Cell means the cell is\u00a0born<\/strong>.)<\/span><\/li>\n<\/ul>\n<p><strong>\u53c2\u8003\uff08<span style=\"color: #0000ff;\">Reference<\/span>\uff09\uff1a<\/strong><\/p>\n<ul style=\"list-style-type: square;\">\n<li><strong><a href=\"http:\/\/schuelaw.whitman.edu\/JavaApplets\/ForestFireApplet\/\" target=\"_blank\" rel=\"noopener noreferrer\">Cellular Automata Forest Fire Model<\/a><\/strong><\/li>\n<\/ul>\n<p><strong>\u4e0b\u8f7d\uff08<span style=\"color: #0000ff;\">Download <span style=\"color: #000000;\">\uff09<\/span><\/span>\uff1a<\/strong><\/p>\n<ul style=\"list-style-type: square;\">\n<li><span style=\"color: #000000;\"><strong><a href=\"\/wp-content\/uploads\/2015\/08\/CAFire_ByJiDongCui.rar\">Cellular Automata\u00a0Forest Fire Model by CJD<\/a><\/strong><\/span><\/li>\n<\/ul>\n<p><strong>PS.<\/strong><\/p>\n<ul style=\"list-style-type: square;\">\n<li>\u53ef\u4ee5\u53d1\u73b0\uff0c\u5728\u4e00\u5f00\u59cb\uff0c\u6811\u6728\uff08\u7eff\u8272\uff09\u75af\u72c2\u7684\u751f\u957f\u3002\u8fc7\u4e00\u6bb5\u65f6\u95f4\u540e\uff0c\u7531\u4e8e\u96f7\u7535\u7684\u6253\u51fb\uff0c\u5bfc\u81f4\u706b\u707e\u53d1\u751f\u3002\u706b\u707e\u4f1a\u8fc5\u901f\u8513\u5ef6\uff0c\u5e76\u5c06\u6811\u6728\u6210\u7fa4\u71c3\u70e7\u6389\u3002\u706b\u707e\u8fc7\u540e\uff0c\u65b0\u7684\u6811\u6728\u53c8\u4f1a\u751f\u957f\u51fa\u6765\u3002<span style=\"color: #0000ff;\">\uff08At the start of this model, you will see trees growing uncontrollably. After a while, lightening strikes will start fires. The fires will spread, destroying trees in big swaths. Behind the fires, new trees will grow up again.\uff09<\/span><\/li>\n<\/ul>\n<hr \/>\n<p><center><div  class=\"thumbs-rating-container\" id=\"thumbs-rating-1651\" data-content-id=\"1651\"><button class=\"thumbs-rating-up thumbs-rating-voted\" onclick=\"thumbs_rating_vote(1651, 1);\">Vote Up +9<\/button> <button class=\"thumbs-rating-down\" onclick=\"thumbs_rating_vote(1651, 2);\">Vote Down -0<\/button><span class=\"thumbs-rating-already-voted\">You already voted!<\/span><\/div><\/center><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5143\u5305\u81ea\u52a8\u673a\uff08Cellular Automata\uff09\u8fd9\u91cc\u5c31\u4e0d\u4ecb\u7ecd\u4e86\uff0c\u53ef\u4ee5\u5728\u6211\u7684\u5176\u4ed6\u535a\u6587\u4e2d\u4e86\u89e3\u5230\uff0c\u6709\u5174\u8da3\u7684\u670b\u53cb\u4e5f\u53ef\u4ee5\u53bb\u767e\u5ea6\u4e00\u5207\u3002\u8fd9\u91cc\u5229\u7528\u5143\u5305\u81ea\u52a8\u673a\u8fdb\u884c\u68ee\u6797\u706b\u707e\u8513\u5ef6\u6a21\u62df\uff0c\u5f53\u7136\u8fd9\u80af\u5b9a\u4e0d\u662f\u57fa\u4e8e\u7269\u7406\u7684\u6a21\u62df\u4e86\u3002\u6700\u7b80\u5355\u7684\u57fa\u4e8e\u5143\u5305\u81ea\u52a8\u673a\u7684\u68ee\u6797\u706b\u707e\u6a21\u578b\uff08Cellular Automata\u00a0Forest Fire Model\uff09\u5927\u5bb6\u53ef\u4ee5\u5728\u8fd9\u4e2a\u7f51\u7ad9\u00a0Cellular Automata Forest Fire Model \u4e86\u89e3\u5230\uff0c\u4f5c\u8005\u7528Java\u5199\u4e86\u5c0f\u7a0b\u5e8f\u8fdb\u884c\u6a21\u62df\u3002 \u68ee\u6797\u706b\u707e\u6a21\u578b\u4ecb\u7ecd\uff08The rules\u00a0of Cellular Automata\u00a0Forest Fire Model\uff09\uff1a \u71c3\u70e7\u7684\u6811\uff08\u7ea2\u8272\u683c\u5b50\uff09\u4f1a\u5728\u4e0b\u4e00\u6b65\u53d8\u6210\u7a7a\u5730\uff08\u767d\u8272\u683c\u5b50\uff09\u3002A burning tree (red\u00a0cell) becomes an empty site (white\u00a0cell)\u3002 \u5982\u679c\u4e00\u9897\u975e\u71c3\u70e7\u7684\u6811\uff08\u7eff\u8272\u683c\u5b50\uff09\u5468\u56f4\u6709\u6811\u71c3\u70e7\uff0c\u90a3\u4e48\u5b83\u4f1a\u5728\u4e0b\u4e00\u6b65\u53d8\u6210\u71c3\u70e7\u7684\u6811\uff08\u767d\u8272\u683c\u5b50\uff09\u3002A tree (green cell) becomes &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1666,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[235,4,21],"tags":[208,209,251,250,233,210,249,234,252],"class_list":["post-1651","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-game-programming-","category-math-geometry","category-programming","tag-ca","tag-cellular-automata","tag-fire","tag-forest","tag-game","tag-210","tag-249","tag-234","tag-252"],"aioseo_notices":[],"views":2970,"_links":{"self":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/posts\/1651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1651"}],"version-history":[{"count":0,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/posts\/1651\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/media\/1666"}],"wp:attachment":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1651"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}