networks#
Networks that connect people within a population
Classes
A transmission route -- e.g., a network, mixing pool, environmental transmission, etc. |
|
A class holding a single network of contact edges (connections) between people as well as methods for updating these. |
|
A network where partnerships update dynamically |
|
Base class for all sexual networks |
|
A network class of static partnerships converted from a networkx graph. |
|
Random connectivity between agents |
|
In the Erdos-Renyi network, every possible edge has a probability, p, of being created on each time step. |
|
Disk graph in which edges are made between agents located within a user-defined radius. |
|
A convenience class for a network of size n that only has self-connections with a weight of 0. |
|
This network is built by randomly pairing males and female with variable relationship durations. |
|
A network that randomly pairs males |
|
Heterosexual age-assortative network based on a one-dimensional embedding. |
|
Base class for maternal transmission Use PrenatalNet and PostnatalNet to capture transmission in different phases |
|
Prenatal transmission network |
|
Postnatal transmission network |
|
A simple age-based filter that returns uids of agents that match the criteria |
|
A container for creating a rectangular array of MixingPool instances |
|
Define a single mixing pool; can be used as a drop-in replacement for a network. |