def true_plan_string(stats): """ p_{\circ} := True plan """ true_plan = stats['tc'].true_plan if true_plan is None: return None else: return plan_friendly(true_plan)
def plan_string(stats): """ p := Plan """ plan = stats['result'].plan if plan is None: return None else: return plan_friendly(plan)
def true_plan_string(stats): """ p_{\circ} := True plan """ true_plan = stats["tc"].true_plan if true_plan is None: return None else: return plan_friendly(true_plan)
def plan_string(stats): """ p := Plan """ plan = stats["result"].plan if plan is None: return None else: return plan_friendly(plan)
def log_plan_found(self, d, p1, p2, plan_red, plan): #@UnusedVariable self.info('Connection between %s and %s of distance %s' % (self.start_tree.node_friendly(p1), self.goal_tree.node_friendly(p2), d)) self.info(' concat: %s' % plan_friendly(plan_red)) self.info('reduced: %s' % plan_friendly(plan))