-
Bentriou Mahmoud authored
slight improvement in allocation and time in benchmark but too small.
Bentriou Mahmoud authoredslight improvement in allocation and time in benchmark but too small.
absorbing_x0.jl 209 B
using MarkovProcesses
load_model("SIR")
new_x0 = [95, 0, 0]
SIR.x0 = new_x0
σ = simulate(SIR)
check_consistency(σ)
return length_states(σ) == 1 && length(times(σ)) == 1 && length(transitions(σ)) == 1