项目作者: Unknown807

项目描述 :
Models infectious diseases
高级语言: Java
项目地址: git://github.com/Unknown807/SIR-Model-JFX.git
创建时间: 2021-03-10T15:20:36Z
项目社区:https://github.com/Unknown807/SIR-Model-JFX

开源协议:

下载


SIR-Model-JFX

JDK 15.0.1

Dependencies

  • javafx-fxml - 15.0.1
  • javafx-controls - 15.0.1
  • javafx-graphics - 15.0.1

    Description

    This program is meant to model and slightly animate infectious diseases, as explained on wikipedia on how the SIR model works.
    The program uses the formulas from the above article instead of running a simulation:

How to Use

When the program starts it will have some default values and max values for the sliders.

alt text

Using any of the sliders will smoothly transition the series’ on the graph. In this case the total time slider stretches/shrinks the graph horizontally, because its changing the upper bound of the x-axis.

alt text

Finally, by inputting into the bottom left fields new max values for certain sliders you can also alter the way the graph looks.

alt text