linqs / pacman

Undergraduate AI assignments disguised as Pac-Man!
https://linqs.github.io/pacman/
Other
11 stars 44 forks source link

Review Counter Usage #29

Closed eriq-augustine closed 4 years ago

eriq-augustine commented 5 years ago

Review the usage of Counter and see if it is actually needed, or if we can just trash it. I would prefer if we used just raw dictionaries.

tsalh commented 5 years ago

Reviewing my code during the Spring iteration for the usage of the counter object, I didn't utilize any of the methods associated with the counter object. Such as the methods in probability.py for a Counter object. So I don't see a purpose for the data structure.

eriq-augustine commented 4 years ago

Counter was removed and replaced with standard dicts.

49 d49441ea5ed9a114a65f2037298c7cd98b8b7cc2