Open vantony1 opened 1 year ago
Hi @vantony1, the simulation engine was designed to eventually support multiple agent classes but we decided, for simplicity, to start with a version that hardcodes the agent and planner classes to the "basic" version of each. You can see this in the code for the World
class. The repo seems to still have that restriction, so I guess the support was never added.
I'm no longer working on this project, so I'm probably too rusty here to give you good pointers. But the simplest thing I can think of is to customize the scenario/component code so that the subset of agents within some index range are treated as one agent type and the remaining subset of agents are treated as the other type. Without knowing more details of what you're trying to do, and because I haven't worked on this code in a while, it's hard for me to provide more concrete advice.
Good luck, though! Hope that's helpful.
hello, does ai-economist allow for creating and using two different types of mobile agents? I am trying to run a simulation on the simple-wood-and-stone env and need two different mobile agents classes. is this achievable if so can you please provide me with some pointers?
@alextrott16 could you perhaps please give me some directions on this? I would really appreciate it!