Commit e1f79988 authored by Bentriou Mahmoud's avatar Bentriou Mahmoud
Browse files

test of birth-death model process with macro

parent f29b1562
......@@ -26,6 +26,17 @@ set_x0!(model_ER, [100,100,0,0])
set_param!(model_ER, [1.0,1.0,1.0])
model_birth_death = @network_model begin
Birth: (X => 2X, λ*X)
Death: (X => , μ*X)
end "Birth-death process"
model_birth_death_2 = @network_model begin
Birth: (X => 2X, λ*X)
Death: (X => 0, μ*X)
end "Birth-death process"
return true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment