def get_plans(self, discdds): ncmd = discdds.get_num_commands() plans = plans_of_max_length(ncmd, self.nsteps) res = [] for p in plans: res.extend(self.multiply(p)) return list(set(res))
def get_plans(self, discdds): ncmd = discdds.get_num_commands() plans = plans_of_max_length(ncmd, self.nsteps) return plans