ClassicComputerScienceProblemsInPython icon indicating copy to clipboard operation
ClassicComputerScienceProblemsInPython copied to clipboard

Instances of `MCState` with the same value are duplicately registered in a set.

Open ruddyscent opened this issue 2 years ago • 0 comments

While solving the problem in missionaries.py using generic_search.py from Chapter 2, I found out that there are duplicate instances of MCState in Node::explored. 스크린샷 2023-10-31 오후 2 08 29

This is probably a problem where instances with the same value are not recognized as the same instance and are, therefore, duplicated in the set.

ruddyscent avatar Oct 31 '23 05:10 ruddyscent