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

Whole Thing is broke #1

Closed
Zedtho opened this issue May 26, 2020 · 3 comments
Closed

Whole Thing is broke #1

Zedtho opened this issue May 26, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@Zedtho
Copy link
Owner

Zedtho commented May 26, 2020

Currently the program is not working, most notably because the containers Agents and AliveAgents are all pointing at the same data, although they should contain pointers pointing at different instances.

@Zedtho
Copy link
Owner Author

Zedtho commented May 26, 2020

A current problem may be the fact that the three subclasses of Agents, "Coordinators" "TFT" (Tit-for-tatters) and "Deflectors" are all stored in one vector (a pointer vector), which seems to be suboptimal. Perhaps I should do that differently all together. Perhaps I should also combine all three to one type, into Agent, and just use the Strategy Enum to differentiate between them.

@Zedtho
Copy link
Owner Author

Zedtho commented May 26, 2020

Merged all three subclasses, that problems out of the way now.

@Zedtho Zedtho closed this as completed May 27, 2020
@Zedtho Zedtho reopened this May 27, 2020
@Zedtho Zedtho added the bug Something isn't working label May 31, 2020
@Zedtho
Copy link
Owner Author

Zedtho commented Jun 1, 2020

With new structure the program is functional

@Zedtho Zedtho closed this as completed Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant