Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running seirsplus on top of a graph_tool network. #42

Open
denis-pickcells opened this issue Jan 11, 2021 · 1 comment
Open

Running seirsplus on top of a graph_tool network. #42

denis-pickcells opened this issue Jan 11, 2021 · 1 comment

Comments

@denis-pickcells
Copy link

I've started working with the seirsplus framework with a networkx created SBM network, but it became very memory-intensive and slow. Is there a way we can use graph_tool networks to work with the seirsplus models?

@denis-pickcells
Copy link
Author

I have converted the graph_tool to an adjacency matrix and used it to populate the SEIRSNetworkModel. The problem is that, even though it accepts numpy.ndarrays as input for G parameter, this parameter is treated as a graph in:
transitionNode_GNbrs = list(self.G[transitionNode].keys()) transitionNode_GQNbrs = list(self.G_Q[transitionNode].keys())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant