Skip to content

duganc/epidemic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epidemic

Use graph visualization to study the spread of Epidemics.

Burndown

  • Graph
    • Node
    • Edge
      • Weights -- Represent probability of infection given that one vertex is infected and one vertex isn't over some time period e.g. a day
    • To pyvis
    • Combine -- Given multiple graphs with the same nodes representing different types of vectors (say, % infection at home with family vs. % infection at work) => p = 1 - (1 - p_0) * (1 - p_1)
  • CLI
    • Basic display of N nodes
  • Time evolution
    • Initial conditions
    • Length of infection
    • Ability to evolve graph
  • Display
    • Color nodes by infection
    • Color edges by p
    • Animate time evolution?

Usage

From root directory,

python3 ./src/visualize_graph.py [Number of nodes]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published