The paper introduces a novel representation for Generalized Planning (GP) problems, and their solutions, as C++ programs. Our C++ representation allows to formally proving the termination of generalized plans, and to specifying their asymptotic complexity w.r.t. the number of world objects. Characterizing the complexity of C++ generalized plans enables the application of a combinatorial search that enumerates the space of possible GP solutions in order of complexity. Experimental results show that our implementation of this approach, which we call BFGP++, outperforms the previous GP as heuristic search approach for the computation of generalized plans represented as compiler-styled programs. Last but not least, the execution of a C++ program on a classical planning instance is a deterministic grounding-free and search-free process, so our C++ representation allows us to automatically validate the computed solutions on large test instances of thousands of objects, where off-the-shelf classical planners get stuck either in the pre-processing or in the search.
翻译:本文介绍了通用规划(GP)问题及其解决办法的新表述方式,作为 C++ 程序。 我们的 C++ 代表方式允许正式证明通用计划的终止, 并指定其无症状复杂性w.r.t. 世界天体的数量。 C++ 通用计划的复杂性使得能够应用组合搜索,按照复杂程度列出可能的通用规划解决方案的空间。 实验结果显示,我们采用这个我们称之为 BFGP++ 的方法,超越了以前的通用计划,作为计算通用计划( 编译器式程序)的超常搜索方法。 最后但并非最不重要的是, C++ 方案在古典规划实例中的执行是一个确定性的无地基和无搜索程序, 所以我们的C++ 代表方式使我们能够自动验证数千个天体的大型测试实例的计算解决方案,在这些案例中,现成的古典规划者要么被困在预处理过程中,要么被困在搜索中。