I am using the Python library Mesa for modeling a multiagent system. Is there a way to get the agent itself if you just have its unique_id? I have one agent save the id of another agent, which at a later point in time the agent tries to interact with. Is there a method of the model or grid that takes the id and gives back the correlating agent?
Asked
Active
Viewed 196 times