Re: [graph-tool] optimize a function based on iterate_sync

2020-08-10 Thread Tiago de Paula Peixoto
Am 28.07.20 um 12:03 schrieb BleakHeart: > Hi graphtool community! > In this period I am stuck in a timing problem. > I need to execute this function: > > def *evolutionSIR*(G, ep_beta, count, v0): > state = SIRState(G, beta=ep_beta, gamma=gamma, v0=v0, > constant_beta=True) > > s =

[graph-tool] optimize a function based on iterate_sync

2020-07-28 Thread BleakHeart
Hi graphtool community! In this period I am stuck in a timing problem. I need to execute this function: def *evolutionSIR*(G, ep_beta, count, v0): state = SIRState(G, beta=ep_beta, gamma=gamma, v0=v0, constant_beta=True) s = state.get_state() temp_state = np.zeros((count + 1,