Simulate COVID-19 epidemic spreading with Complex Networks, given demographic data of a given community, and control restriction levels on different social interaction layers.
@JeffBezanson notes that when the various layers are added to the graph, each new edge is added using add_edge and the locally generated weight. As a result, if the same edge is present in multiple layers, the weight of the edge will be overwritten. Given the semantics of the edge weights, it seems like such a replacement should be additive instead.