We should be able to run several cascades on a single graph, so we want to be able to reset the graph to the state where all nodes are susceptible. i.e. remove all nodes from the infected and recovered lists, and add them all to the susceptible list. this method should do that.
(As a separate issue, there is no method to remove nodes from the recovered list, so I can't even write my own version of graph.reset() )
We should be able to run several cascades on a single graph, so we want to be able to reset the graph to the state where all nodes are susceptible. i.e. remove all nodes from the infected and recovered lists, and add them all to the susceptible list. this method should do that.
(As a separate issue, there is no method to remove nodes from the recovered list, so I can't even write my own version of graph.reset() )