starsimhub / starsim

Starsim disease modeling framework
http://starsim.org
MIT License
14 stars 8 forks source link

Sexual networks #8

Closed robynstuart closed 10 months ago

robynstuart commented 1 year ago

Add more examples, including examples of importing a network from elsewhere

luojun-yang commented 1 year ago

Connectors between network instances and between networks and disease modules.

daniel-klein commented 1 year ago

Networks should be able to make and manage multiple dynamic layers. This would enable instantiation of several independent layers or more complex algorithms with detailed connections between layers. In this approach, the connections between layers would simply be hard-coded as part of the more complex network algorithms.

daniel-klein commented 10 months ago

With #142 now merged, we have a base Network (algorithm) class and an example that imports a network from elsewhere (static networkx graphs). There is more to do in sexual networks, but I believe we have completed the task as described here..