pandemia.__main__

Pandemia is an individual-based pandemic simulator.

Module Contents

Functions

build_world(config)

Builds the world on which the simulator acts. The world consists of regions. Each region

main()

Main pandemia entry point. Two command-line arguments may be passed, the first is required

Attributes

log

pandemia.__main__.log
pandemia.__main__.build_world(config)

Builds the world on which the simulator acts. The world consists of regions. Each region consists of agents and locations, with agents able to perform activities in selected locations. There is also a scale factor, which can be used to rescale the numbers of agents and locations in each region

pandemia.__main__.main()

Main pandemia entry point. Two command-line arguments may be passed, the first is required while the second is optional. The first should be the filepath to a simulation config, while the second should be a filepath for either loading or saving a simulation factory. Building a simulation world can take a while, hence the loading and saving feature.