Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding abstraction of optimal agent movement #108

Open
adamamer20 opened this issue Oct 28, 2024 · 0 comments
Open

feat: adding abstraction of optimal agent movement #108

adamamer20 opened this issue Oct 28, 2024 · 0 comments
Labels
feature New functionality added to the project.

Comments

@adamamer20
Copy link
Collaborator

It would be beneficial to have a function in the DiscreteSpaceDF (and AgentContainer) for moving agents based on attributes:

move_to(agents: AgentLike, attr_names: str | list[str], rank_order: ['max' | 'min'] | list['max' | 'min'])

For example: move_to('sugar', 'max'). This would abstract the code for handling sequential conflicts, making it easier than handling them from scratch each time.

@adamamer20 adamamer20 added the feature New functionality added to the project. label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality added to the project.
Projects
None yet
Development

No branches or pull requests

1 participant