Although heuristic search is one of the most successful approaches to classical planning, this planning paradigm does not apply straightforwardly to Generalized Planning (GP). Planning as heuristic search traditionally addresses the computation of sequential plans by searching in a grounded state-space. On the other hand GP aims at computing algorithm-like plans, that can branch and loop, and that generalize to a (possibly infinite) set of classical planning instances. This paper adapts the planning as heuristic search paradigm to the particularities of GP, and presents the first native heuristic search approach to GP. First, the paper defines a novel GP solution space that is independent of the number of planning instances in a GP problem, and the size of these instances. Second, the paper defines different evaluation and heuristic functions for guiding a combinatorial search in our GP solution space. Lastly the paper defines a GP algorithm, called Best-First Generalized Planning (BFGP), that implements a best-first search in the solution space guided by our evaluation/heuristic functions.
翻译:虽然长期搜索是典型规划最成功的方法之一,但这一规划范式并不直接适用于一般规划(GP),而规划(Huristic search)传统上是通过在有根有基的状态空间搜索来计算顺序计划的计算。另一方面,GP旨在计算类似算法的计划,这种计划可以分流和循环,并概括为一套(可能无限的)典型规划实例。本文将规划作为超常搜索模式,以适应GP的特殊性,并提出了第一个本地的GP超常搜索方法。首先,该文件界定了一个新的GP解决方案空间,该空间独立于GP问题规划实例的数量和这些实例的规模。第二,该文件界定了指导我们GP解决方案空间组合搜索的不同评价和超常功能。最后,该文件定义了一种GP算法,称为最佳第一通用规划(BFGPGP),该算作以我们的评估/超常功能为指导的解决方案空间的最佳第一搜索。