Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 2.18 KB

File metadata and controls

19 lines (12 loc) · 2.18 KB

模拟在传染病大流行时,社会层面变化。当然本项目更聚焦于每个普通人的影响,不仅是得病、隔离、病死、恢复,也包括每日收入、花费的模拟,每个人都可能破产。这些众多的细节能更好的呈现出疫情流行的社会是如何的。模拟主要逻辑在于Person.cs中,使得模拟大量变量的情况下代码更加简洁,虽然会降低一些性能,但这是可以牺牲的。

Simulate the change of social level during the epidemic of infectious diseases. Of course, this project focuses more on the impact of every ordinary person, not only the illness, isolation, death and recovery, but also the simulation of daily income and expenditure. Everyone may go bankrupt. These numerous details can better show how the epidemic society is.The main logic of simulation is in Person.cs, which makes the code more concise when simulating a large number of variables. Although it will reduce some performance, it can be sacrificed.

License

The MIT License (MIT) Copyright © 2022 ksom11

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.