{"id":360,"date":"2017-04-19T16:46:12","date_gmt":"2017-04-19T16:46:12","guid":{"rendered":"http:\/\/taoyifei.tech\/?p=360"},"modified":"2017-04-19T16:53:08","modified_gmt":"2017-04-19T16:53:08","slug":"2%e3%80%81%e5%85%b3%e4%ba%8e%e9%9a%8f%e6%9c%ba%e6%95%b0","status":"publish","type":"post","link":"https:\/\/taoyifei.tech\/?p=360","title":{"rendered":"2\u3001\u5173\u4e8e\u968f\u673a\u6570"},"content":{"rendered":"<p>\u7edd\u5927\u591a\u6570\u7684\u79bb\u6563\u4e8b\u4ef6\u4eff\u771f\u8f6f\u4ef6\u90fd\u5177\u6709\u968f\u673a\u6570\u7684\u529f\u80fd\uff0c\u901a\u8fc7\u968f\u673a\u6570\u53ef\u4ee5\u4f53\u73b0\u4eff\u771f\u4e8b\u4ef6\u7684\u4e0d\u786e\u5b9a\u6027\uff0c\u4fdd\u8bc1\u4eff\u771f\u8fc7\u7a0b\u66f4\u52a0\u771f\u5b9e\u53ef\u9760\u3002<!--more--><\/p>\n<p>\u8ba1\u7b97\u673a\u4ea7\u751f\u7684\u968f\u673a\u6570\u90fd\u662f\u4f2a\u968f\u673a\u6570\uff0c\u56e0\u6b64\u4e0d\u540c\u7684\u4eff\u771f\u8f6f\u4ef6\u91c7\u7528\u4e0d\u540c\u7684\u968f\u673a\u6570\u7b97\u6cd5\u3002Plant Simulation\u6bcf\u4e00\u4e2a\u7248\u672c\u90fd\u5e26\u6709\u5f3a\u5927\u7684\u968f\u673a\u6570\u53d1\u751f\u5668\uff0c\u572811.0\u7248\u672c\u4e4b\u524d\uff08\u8001\u7248\u672c\uff09\uff0c\u91c7\u7528MLCG\u7b97\u6cd5\u4ea7\u751f\u968f\u673a\u6570\uff0c\u4ece11.0\u7248\u672c\u5f00\u59cb\uff08\u65b0\u7248\u672c\uff09\uff0c\u91c7\u7528\u4e86\u66f4\u52a0\u5f3a\u5927\u7684MRG63k3a+\u968f\u673a\u6570\u7b97\u6cd5\u3002\u65b0\u7248\u672c\u4e2d\u968f\u673a\u6570\u7b97\u6cd5\u5230\u5e95\u6709\u591a\u5f3a\uff0c\u8f6f\u4ef6\u5f00\u53d1\u4eba\u5458\u662f\u8fd9\u6837\u63cf\u8ff0\u7684\uff1a\u5982\u679c\u7528\u4e00\u53f08\u6838\uff0c\u4e3b\u98913GHz\uff0ci7 CPU \u8ba1\u7b97\u673a\u6bcf\u79d2\u80fd\u591f\u4ea7\u751f240\u4ebf\u4e2a\u968f\u673a\u6570\uff0c\u90a3\u4e48\u5047\u4f7f\u8ba9\u8fd9\u53f0\u8ba1\u7b97\u673a\u4ece\u5b87\u5b99\u5927\u7206\u70b8\u5f00\u59cb\u5230\u73b0\u5728\u8ba1\u7b97138\u4ebf\u5e74\uff0c\u5b83\u4e5f\u4ec5\u4ec5\u8ba1\u7b97\u51fa\u4e86\u8be5\u968f\u673a\u6570\u7b97\u6cd5\u4e00\u4e2a\u5b8c\u6574\u5468\u671f\u76843.38 \/ (10^86)!!!<\/p>\n<p>\u5173\u4e8e\u4f2a\u968f\u673a\u6570\u7684\u4ea7\u751f\u539f\u7406\u548c\u7b97\u6cd5\uff0c\u5f80\u6df1\u91cc\u8bb2\u662f\u4e00\u95e8\u5b66\u79d1\uff0c\u5728\u8fd9\u91cc\u4e0d\u505a\u6df1\u5165\u7814\u7a76\u3002\u4ec5\u4e3a\u5927\u5bb6\u5206\u4eabPlant Simulation\u65b0\u8001\u7248\u672c\u4e2d\u968f\u673a\u6570\u76843\u6761\u4f7f\u7528\u5efa\u8bae\u3002<\/p>\n<p><strong>1 \u968f\u673a\u6570\u590d\u4f4d<\/strong><\/p>\n<p>\u968f\u673a\u6570\u590d\u4f4d\u6307\u7684\u662f\u4ec0\u4e48\uff1f\u4e3e\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a\u4f8b\u5982\u4e00\u4e2a\u4eff\u771f\u6a21\u578b\u4e2d\u542b\u6709\u968f\u673a\u8bbe\u7f6e\uff0c\u6bd4\u5982\u968f\u673a\u52a0\u5de5\u3001\u6545\u969c\u3001\u5207\u6362\u65f6\u95f4\u7b49\uff0c\u7136\u540e\u8fdb\u884c\u591a\u6b21\u72ec\u7acb\u7684\u4eff\u771f\u5b9e\u9a8c\u3002\u5982\u679c\u8fdb\u884c\u4e86\u968f\u673a\u6570\u590d\u4f4d\u8bbe\u7f6e\uff0c\u90a3\u4e48\u6bcf\u6b21\u5b9e\u9a8c\u7ed3\u679c\u548c\u8fc7\u7a0b\u662f\u5b8c\u5168\u4e00\u6837\u7684\uff1b\u5982\u679c\u6ca1\u6709\u8fdb\u884c\u968f\u673a\u6570\u590d\u4f4d\uff0c\u90a3\u4e48\u6bcf\u6b21\u5b9e\u9a8c\u7ed3\u679c\u548c\u8fc7\u7a0b\u5c06\u4e0d\u540c\u3002\u8f6f\u4ef6\u9ed8\u8ba4\u8bbe\u7f6e\u968f\u673a\u6570\u590d\u4f4d\uff0c\u5982\u679c\u9700\u8981\u66f4\u6539\u8bbe\u7f6e\uff0c\u53ef\u4ee5\u7f16\u5199\u4ee3\u7801\uff08\u8001\u7248\u672c\uff1aEventController.SeedReset:=true\/false\uff1b\u65b0\u7248\u672c\uff1aEventController. IncrementRandomNumbersVariantOnReset:=true\/false\uff1b\uff09\u6216\u5feb\u6377\u9009\u9879\u53c2\u8003\u4e0b\u56fe\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-362\" src=\"http:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-1.jpg\" alt=\"\" width=\"749\" height=\"318\" srcset=\"https:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-1.jpg 749w, https:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-1-300x127.jpg 300w, https:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-1-624x265.jpg 624w\" sizes=\"(max-width: 749px) 100vw, 749px\" \/><\/p>\n<p><strong>2 \u79cd\u5b50\u503c\uff08seed value\uff09<\/strong><\/p>\n<p>\u65b0\u8001\u7248\u672c\u968f\u673a\u6570\u7b97\u6cd5\u5728\u79cd\u5b50\u503c\u65b9\u9762\u6709\u5f88\u5927\u7684\u533a\u522b\uff0c\u8001\u7248\u672c\u968f\u673a\u6570\u7b97\u6cd5\u9700\u8981\u4e24\u4e2a\u79cd\u5b50\u503c\uff0c\u65b0\u7248\u672c\u53ea\u9700\u8981\u4e00\u4e2a\uff0c\u65b0\u8001\u7248\u672c\u7684\u79cd\u5b50\u503c\u8bbe\u7f6e\u5217\u8868\u5982\u4e0b\u56fe\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-363\" src=\"http:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-2.jpg\" alt=\"\" width=\"613\" height=\"531\" srcset=\"https:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-2.jpg 613w, https:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-2-300x260.jpg 300w\" sizes=\"(max-width: 613px) 100vw, 613px\" \/><\/p>\n<p><strong>\u8001\u7248\u672c\uff1a<\/strong>\u5728\u8001\u7248\u672c\u4e2d\u5982\u679c\u6ca1\u6709\u7279\u6b8a\u7684\u9700\u6c42\uff0c\u57fa\u672c\u4e0d\u7528\u4eba\u4e3a\u8bbe\u7f6e\u79cd\u5b50\u503c\u3002\u5728\u7f16\u5199\u5206\u5e03\u51fd\u6570\u7a0b\u5e8f\uff08\u4f8b\u5982\uff1az_uniform(stream,start,stop)\uff09\u6216\u8005\u8bbe\u7f6e\u63a7\u4ef6\u968f\u673a\u53c2\u6570\uff08\u4f8b\u5982\uff1aSource\u63a7\u4ef6\u7684\u7269\u6599\u751f\u6210\u95f4\u9694\u670d\u4ece\u67d0\u79cd\u6982\u7387\u5206\u5e03\uff09\u65f6\uff0c\u53ea\u9700\u6307\u5b9a\u968f\u673a\u6570\u6d41\u7f16\u53f7\uff0c\u7cfb\u7edf\u4f1a\u6839\u636e\u968f\u673a\u6570\u6d41\u7f16\u53f7\uff0c\u5728\u4e0a\u56fe\u7684\u5217\u8868\u4e2d\u5bfb\u627e\u76f8\u5e94\u7684\u79cd\u5b50\u503c\u3002\u5982\u679c\u6307\u5b9a\u7684\u968f\u673a\u6570\u6d41\u7f16\u53f7\u8d85\u51fa\u5217\u8868\u6240\u5217\u8303\u56f4\uff0c\u90a3\u4e48\u7cfb\u7edf\u4f1a\u6309\u7167\u7f16\u53f7\u987a\u5e8f\uff0c\u81ea\u52a8\u751f\u6210\u7f3a\u5c11\u7684\u6240\u6709\u79cd\u5b50\u503c\u3002<\/p>\n<p><strong>\u65b0\u7248\u672c\uff1a<\/strong>\u79cd\u5b50\u503c\u7684\u4f7f\u7528\u53d8\u5316\u6bd4\u8f83\u5927\u3002\u5728\u7f16\u5199\u5206\u5e03\u51fd\u6570\u7a0b\u5e8f\u65f6\uff0c\u4e0e\u8001\u7248\u672c\u57fa\u672c\u4e00\u81f4\uff0c\u6307\u5b9a\u968f\u673a\u6570\u6d41\uff0c\u7cfb\u7edf\u5728\u4e0a\u56fe\u6240\u793a\u5217\u8868\u4e2d\u6839\u636e\u968f\u673a\u6570\u6d41\u7f16\u53f7\u627e\u5230\u5bf9\u5e94\u7684\u79cd\u5b50\u503c\u3002\u5728\u63a7\u4ef6\u4e2d\u8bbe\u7f6e\u968f\u673a\u53c2\u6570\u65f6\uff0c\u4e0e\u8001\u7248\u672c\u5b8c\u5168\u4e0d\u540c\uff0c\u65b0\u7248\u672c\u7684\u63a7\u4ef6\u81ea\u8eab\u5e26\u6709\u79cd\u5b50\u503c\uff08\u53ef\u901a\u8fc7RandomSeed\u5c5e\u6027\u67e5\u8be2\/\u8bbe\u7f6e\uff09\uff0c\u56e0\u6b64\u63a7\u4ef6\u4e2d\u4e0d\u7528\u8bbe\u7f6e\u968f\u673a\u6570\u6d41\uff0c\u5177\u4f53\u533a\u522b\u89c1\u4e0b\u56fe\u3002\u8fd9\u6837\u505a\u7684\u597d\u5904\u662f\u53ef\u4ee5\u4e3a\u529f\u80fd\u76f8\u540c\u7684\u4e24\u4e2a\u63a7\u4ef6\u8bbe\u7f6e\u76f8\u540c\u7684\u79cd\u5b50\u503c\uff0c\u8fd9\u6837\u540c\u4e00\u6a21\u578b\u4e2d\u5c31\u53ef\u4ee5\u5236\u4f5c\u4e24\u4e2a\u968f\u673a\u5206\u5e03\u8f93\u51fa\u5b8c\u5168\u76f8\u540c\u7684\u4e24\u4e2a\u63a7\u4ef6\uff0c\u8fd9\u5728\u8001\u7248\u672c\u4e2d\u662f\u505a\u4e0d\u5230\u7684\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-365\" src=\"http:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-3.jpg\" alt=\"\" width=\"1021\" height=\"434\" srcset=\"https:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-3.jpg 1021w, https:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-3-300x128.jpg 300w, https:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-3-768x326.jpg 768w, https:\/\/taoyifei.tech\/wp-content\/uploads\/2017\/04\/170417-3-624x265.jpg 624w\" sizes=\"(max-width: 1021px) 100vw, 1021px\" \/><\/p>\n<p>\u7531\u4e8e\u65b0\u8001\u7248\u672c\u7684\u968f\u673a\u6570\u7b97\u6cd5\u79cd\u5b50\u503c\u4e2a\u6570\u6539\u53d8\uff0c\u4e5f\u9020\u6210\u4e86\u4e00\u4e9b\u95ee\u9898\u3002\u6bd4\u5982\uff1a\u7528\u8001\u7248\u672c\u8f6f\u4ef6\u5efa\u7acb\u5e26\u6709\u5b9e\u9a8c\u7ba1\u7406\u5668ExperimentManager\u7684\u6a21\u578b\uff0c\u7528\u65b0\u7248\u672c\u8f6f\u4ef6\u4e0d\u80fd\u6b63\u5e38\u8fd0\u884c\uff0c\u9700\u8981\u52a0\u8f7d\u65b0\u7684\u5b9e\u9a8c\u7ba1\u7406\u5668\u5e76\u91cd\u65b0\u8bbe\u7f6e\uff0c\u7c7b\u4f3c\u8fd9\u4e9b\u95ee\u9898\u662f\u5927\u5bb6\u9700\u8981\u6ce8\u610f\u7684\u3002<\/p>\n<p><strong>3 \u968f\u673a\u6570\u6d41\uff08random number stream\uff09<\/strong><\/p>\n<p>\u968f\u673a\u6570\u6d41\u662f\u76f8\u5e94\u79cd\u5b50\u503c\u7684\u7f16\u53f7\uff0c\u8f6f\u4ef6\u5185\u90e8\u968f\u673a\u7b97\u6cd5\u4f7f\u7528\u79cd\u5b50\u503c\u751f\u6210\u968f\u673a\u6570\uff0c\u4f46\u662f\u6211\u4eec\u5728\u7f16\u7a0b\u548c\u63a7\u4ef6\u8bbe\u7f6e\u7684\u65f6\u5019\u4e00\u822c\u91c7\u7528\u968f\u673a\u6570\u6d41\uff0c\u7cfb\u7edf\u4f1a\u6839\u636e\u79cd\u5b50\u503c\u5217\u8868\u81ea\u52a8\u5bf9\u5e94\u3002<\/p>\n<p><strong>\u603b\u7ed3\uff1a<\/strong>\u65b0\u7248\u672c\u8fd8\u589e\u52a0\u4e86Variant\u8fd9\u6837\u7684\u529f\u80fd\uff0c\u8ba9\u6211\u4eec\u53ef\u4ee5\u5728\u4e0d\u6539\u53d8\u5f53\u524d\u968f\u673a\u8bbe\u7f6e\u7684\u60c5\u51b5\u4e0b\uff0c\u91cd\u590d\u8bd5\u9a8c\u4e0d\u540c\u7684\u968f\u673a\u8f93\u51fa\u3002\u603b\u4e4b\u76f8\u6bd4\u8f83\u8001\u7248\u672c\uff0c\u529f\u80fd\u66f4\u52a0\u7684\u5168\u9762\uff0c\u8bbe\u7f6e\u4e5f\u66f4\u52a0\u7b80\u5355\u3002\u4f46\u662f\u5177\u4f53\u7684\u4f7f\u7528\u5efa\u8bae\uff0c\u6bd4\u5982\uff1a\u4ec0\u4e48\u65f6\u5019\u968f\u673a\u6570\u4e0d\u590d\u4f4d\uff0c\u4ec0\u4e48\u65f6\u5019\u8bbe\u7f6e\u63a7\u4ef6\u81ea\u8eab\u79cd\u5b50\u503c\uff0c\u7b49\u7b49\u8fd9\u4e9b\u7591\u95ee\u5fc5\u987b\u8981\u7ed3\u5408\u5177\u4f53\u7684\u9879\u76ee\u6848\u4f8b\u800c\u5b9a\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7edd\u5927\u591a\u6570\u7684\u79bb\u6563\u4e8b\u4ef6\u4eff\u771f\u8f6f\u4ef6\u90fd\u5177\u6709\u968f\u673a\u6570\u7684\u529f\u80fd\uff0c\u901a\u8fc7\u968f\u673a\u6570\u53ef\u4ee5\u4f53\u73b0\u4eff\u771f\u4e8b\u4ef6\u7684\u4e0d\u786e\u5b9a\u6027\uff0c\u4fdd\u8bc1\u4eff\u771f\u8fc7\u7a0b\u66f4\u52a0\u771f\u5b9e\u53ef\u9760\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/taoyifei.tech\/index.php?rest_route=\/wp\/v2\/posts\/360"}],"collection":[{"href":"https:\/\/taoyifei.tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taoyifei.tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taoyifei.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taoyifei.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=360"}],"version-history":[{"count":4,"href":"https:\/\/taoyifei.tech\/index.php?rest_route=\/wp\/v2\/posts\/360\/revisions"}],"predecessor-version":[{"id":368,"href":"https:\/\/taoyifei.tech\/index.php?rest_route=\/wp\/v2\/posts\/360\/revisions\/368"}],"wp:attachment":[{"href":"https:\/\/taoyifei.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taoyifei.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taoyifei.tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}