-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我试着用python复刻出来了一个,但是运行速度上有先天劣势🙄️,看着没那么流畅 #62
Comments
就在我的repo里就有,链接是这个 https://github.com/y1han/virus-simulation |
默认是SEIRS的模型,可以通过调整参数来达到其他模型的效果,比如关闭Recover类,关闭致死,E类同样可传染等 |
我觉得用matlab的库不太好,如果用processing,表现效果肯定好一些
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: Han Yi <[email protected]>
发送时间: 2020年2月11日 23:56
收件人: KikiLetGo/VirusBroadcast <[email protected]>
抄送: xiezuoru <[email protected]>, Author <[email protected]>
主题: 回复:[KikiLetGo/VirusBroadcast] 我试着用python复刻出来了一个,但是运行速度上有先天劣势️,看着没那么流畅 (#62)
就在我的repo里就有,链接是这个 https://github.com/y1han/virus-simulation
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
现在我一次计算的时间压到0.7s了,其中0.5s是计算距离矩阵的时间,这个时间我没有想到其他的办法压缩,java直接循环都比我这快😂。其他的总体都在0.2s内其实还好 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我试着用python复刻出来了一个,但是运行速度上有先天劣势🙄️,看着没那么流畅
Originally posted by @y1han in #5 (comment)
能不能分享一下?中小学需要用python的范例。
The text was updated successfully, but these errors were encountered: