Metadata-Version: 2.1
Name: titan-model
Version: 3.3.0
Summary: TITAN Agent Based Model
Home-page: https://titanmodel.org
License: GPL-3.0-only
Author: Sam Bessey
Author-email: sam_bessey@brown.edu
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Provides-Extra: docs
Provides-Extra: linting
Requires-Dist: black (>=23.1.0,<24.0.0) ; extra == "linting"
Requires-Dist: flake8 (>=3.8,<4.0) ; extra == "linting"
Requires-Dist: mkdocs (>=1.1,<2.0) ; extra == "docs"
Requires-Dist: mkdocs-material (>=7.0,<8.0) ; extra == "docs"
Requires-Dist: mkdocstrings (>=0.15.0,<0.16.0) ; extra == "docs"
Requires-Dist: mypy (>=1.0.0,<2.0.0) ; extra == "linting"
Requires-Dist: nanoid (>=2.0,<3.0)
Requires-Dist: networkx (>=2.4,<3.0)
Requires-Dist: numpy (>=1.18,<2.0)
Requires-Dist: oyaml (>=1.0,<2.0)
Requires-Dist: paraml (>=0.1,<0.2)
Project-URL: Documentation, https://pph-collective.github.io/titan
Project-URL: Repository, https://github.com/pph-collective/TITAN
Description-Content-Type: text/markdown

# TITAN Simulation
[![DOI](https://zenodo.org/badge/80315242.svg)](https://zenodo.org/badge/latestdoi/80315242)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/pph-collective/TITAN)](https://github.com/pph-collective/TITAN/releases/latest/) [![](https://github.com/pph-collective/TITAN/workflows/Unit%20Tests/badge.svg)](https://github.com/pph-collective/TITAN/actions) [![codecov](https://codecov.io/gh/pph-collective/TITAN/branch/develop/graph/badge.svg?token=wjkExshhyh)](https://codecov.io/gh/pph-collective/TITAN) [![GitHub](https://img.shields.io/github/license/pph-collective/TITAN)](https://github.com/pph-collective/TITAN/blob/develop/LICENSE) [![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://pph-collective.github.io/TITAN/)

TITAN (Treatment of Infectious Transmissions through Agent-based Network) is an agent-based simulation model used to explore contact transmission in complex social networks. Starting with the initializing agent population, TITAN iterates over a series of stochastic interactions where agents can interact with one another, transmit infections through various medium, and enter and exit the care continuum. The purpose of TITAN is to evaluate the impact of prevention and treatment models on incidence and prevalence rates of the targeted disease(s) through the use of data fitting simulated trajectories and rich statistics of primary/sub-population attributable proportions.

Agent populations are defined as graphs (nodes connected by edges). Nodes in the graph are used to represent the attributes (or collection of attributes) of an agent (person), and edges define the type of relationship between agents. In practice, a graph represents a social network of connected people through various relationship types, and provides the medium for which agents can interact.

## Getting Started

Install the package

```
pip install titan-model
```

This includes the script `run_titan` which can then be used to run the model.

### Prerequisites

* Python (or pypy) 3.6 or later

## Running the Model

```
run_titan -p my_params.yml
```

To run the model, execute the `run_titan` program. See [TITAN params](https://pph-collective.github.io/titan-params-app) for documentation on how to set and use parameters.

Results of the model are generated and aggregated into the `/results/` directory by default. If the model is re-run, the existing results will be overwritten.


## Built With
* [Python3.x](https://www.python.org/downloads/release/python-374/) - Programming language

  Van Rossum G, Drake FL. Python 3 Reference Manual. Scotts Valley, CA: CreateSpace; 2009.

* [Networkx](https://networkx.github.io/) - Network structure backend

  Hagberg A, Swart P, S Chult D. Exploring network structure, dynamics, and function using NetworkX. 2008.

* [Numpy](http://www.numpy.org/) - Numerical libraries

  Oliphant TE. A guide to NumPy. Vol. 1. Trelgol Publishing USA; 2006.

## Authors

* **Lars Seeman** - *Initial work*
* **Max King** - *Continued development*
* **Sam Bessey** - *Continued development*
* **Mary McGrath** - *Continued development*

## License

This project is licensed under the GNU General Public License version 3 - see the [LICENSE.md](LICENSE.md) file for details

