Apply same function to same agents but with different states #1132
Answered
by
Robadob
MatBiocentis
asked this question in
Q&A
-
Dear all, I need your help.
Thanks a lot for your help. Best regards, |
Beta Was this translation helpful? Give feedback.
Answered by
Robadob
Oct 25, 2023
Replies: 1 comment 8 replies
-
You will need to redefine the agent function for each agent state. Agent's in different states are not stored together in memory, so they will always execute agent functions distinct from other states. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, multiple states is not something that's been implemented (or even considered iirc). It may make sense for you to make one or both of them variables rather than states depending on your model.