Passing step number to agent step method #1545
-
My AgentModel class has methods that increment the likelihood that an agent will maintain ownership of an asset in response to incentive given to the agent. One of these methods is
One that employs the behavior of the sigmoid function to start this probability at 0.55 and always remain between 0 and 1.
where my EconomyModel class' step method is
I want to figure out where to pass
How would one go about that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You don't have to pass the Line 83 in 9bc7b1a |
Beta Was this translation helpful? Give feedback.
You don't have to pass the
run_i
. The scheduler keeps track of the step count (seemesa/mesa/time.py
Line 83 in 9bc7b1a