(self)
| 52 | if is_plan(plan) and (cost < self.best_cost): |
| 53 | self.solutions.append(Solution(plan, cost, elapsed_time(self.start_time))) |
| 54 | def has_solution(self): |
| 55 | return is_plan(self.best_plan) |
| 56 | def is_solved(self): |
| 57 | return self.has_solution() and (self.best_cost <= self.success_cost) |
| 58 | def elapsed_time(self): |
no test coverage detected