Check if the 2 objects are equal.
(self, obj)
| 65 | return hash(str(self)) |
| 66 | |
| 67 | def __eq__(self, obj): |
| 68 | """ |
| 69 | Check if the 2 objects are equal. |
| 70 | """ |
| 71 | if isinstance(obj, SearchProblem): |
| 72 | return hash(str(self)) == hash(str(obj)) |
| 73 | return False |
| 74 | |
| 75 | def __str__(self): |
| 76 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected