Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

two different types of mobile agents #97

Open
vantony1 opened this issue Oct 16, 2023 · 1 comment
Open

two different types of mobile agents #97

vantony1 opened this issue Oct 16, 2023 · 1 comment

Comments

@vantony1
Copy link

vantony1 commented Oct 16, 2023

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!

@alextrott16
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants