MCPcopy Create free account
hub / github.com/caelan/pddlstream / has_solution

Method has_solution

pddlstream/algorithms/common.py:54–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers 3

solve_incrementalFunction · 0.95
is_solvedMethod · 0.95
is_dominatedMethod · 0.80

Calls 1

is_planFunction · 0.90

Tested by

no test coverage detected