Community

I am developing an ABM where I have a number agents being randomly assigned into rooms and all agents within a room belong to the same collection group. The total number of rooms is user specified, so it is a replicated object that is systematically allocated on the screen. My dilemma is that I require the agents to pass messages, where a successful message exchange is based on how far apart they are from one another in the room. My understanding is that an environment allows for this kind of exchange, but I won't know how many rooms will be called up, messages can't be passed to agents in other rooms, and I would like the agents to be randomly distributed in the room. I suppose I could use one environment, put space in between the rooms and use parameters that would keep them within the confines of the room to avoid message contamination. But I am not sure how to randomly distribute them within the space. Are there any methods that might allow me to execute this?

No posts found