string representation of the current search state. >>> str(SearchProblem(0, 0, 1, None)) 'x: 0 y: 0' >>> str(SearchProblem(2, 5, 1, None)) 'x: 2 y: 5'
(self)
| 73 | return False |
| 74 | |
| 75 | def __str__(self): |
| 76 | """ |
| 77 | string representation of the current search state. |
| 78 | >>> str(SearchProblem(0, 0, 1, None)) |
| 79 | 'x: 0 y: 0' |
| 80 | >>> str(SearchProblem(2, 5, 1, None)) |
| 81 | 'x: 2 y: 5' |
| 82 | """ |
| 83 | return f"x: {self.x} y: {self.y}" |
| 84 | |
| 85 | |
| 86 | def hill_climbing( |
nothing calls this directly
no outgoing calls
no test coverage detected