Skip to content

[Feature]: Add movement methods to AgentContainer #82

@adamamer20

Description

@adamamer20

🤔 Problem Description

Currently, various movement methods (move_to_empty, move_to_available, etc.) are implemented directly within the space module. These methods require explicitly passing agents (e.g., agent IDs or an AgentContainer). This approach can be cumbersome since there's no direct interface on AgentContainer itself.

💡 Proposed Solution

Implement a dedicated interface on AgentContainer classes that wraps these movement methods. By default, these methods would pass themselves as the agents to the underlying space methods, unless another set of agent IDs is explicitly provided.

This approach would significantly simplify the API and make it more intuitive.

🔄 Alternatives Considered

No response

➕ Additional Context

No response

Metadata

Metadata

Assignees

Labels

featureNew functionality added to the project.good first issueGood for newcomers

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions