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

aoc_tsp: Replace scheduler with AgentSet functionality #191

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

EwoutH
Copy link
Member

@EwoutH EwoutH commented Sep 3, 2024

Updates the aoc_tsp example by replace scheduler with AgentSet functionality.

-        self.schedule.step()
+        self.agents.shuffle().do("step")

Also use the new, standardized order of count-do-collect.

See:

CC @zjost

Also use the new, standardized order of count-do-collect.
@EwoutH EwoutH merged commit ec07d89 into projectmesa:main Sep 4, 2024
2 of 3 checks passed
EwoutH added a commit to EwoutH/mesa-examples that referenced this pull request Sep 20, 2024
Also use the new, standardized order of count-do-collect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants