Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 561 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 561 Bytes

ruby-epidemic-model

A Ruby Agent Model of an epidemic, complete with Monte Carlo support.

This is code I submitted as a student. It is not suitable for production usage.

src/ contains the Ruby code. spec/ contains some rspecs. report.pdf is the report submitted with the code for assessment. It includes background information on agent models of epidemics and description of the design of the code.

Usage

$ ruby simulator.rb

Usage help:

$ ruby simulator.rb -h

The code has been tested with Ruby 1.8.7 on Mac OS X 10.6.