Expand description
A module for modeling contact networks.
A network is modeled as a directed graph. Edges are typed in the usual fashion, i.e., keyed by a Rust type, and each person can have an arbitrary number of outgoing edges of a given type, with each edge having a weight. Edge types can also specify their own per-type data which will be stored along with the edge.
Structs§
- An edge in network graph. Edges are directed, so the source person is implicit.