I'd like to produce turtles for every tick.
But the condition is, the number of them should follow Poisson distribution.
So if the x-axis is the number of tick with certain limitation and the y-axis represents the new turtles created in that tick, the graph should resemble the Poisson distribution.
What I've done so far is
to setup
ca
reset-ticks
end
to go
produce
tick
end
to produce
create-events random-poisson n [
set color red
set random-xcor random-ycor
]
end
But I don't think this is right.
Read more here: https://stackoverflow.com/questions/66338556/netlogo-how-to-create-turtles-with-the-numbers-following-a-poisson-distributio
Content Attribution
This content was originally published by nicetomeetu at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.