...
首页> 外文期刊>Annals of Mathematics and Artificial Intelligence >Computing weighted solutions in ASP: representation-based method vs. search-based method
【24h】

Computing weighted solutions in ASP: representation-based method vs. search-based method

机译:在ASP中计算加权解决方案:基于表示的方法与基于搜索的方法

获取原文
获取原文并翻译 | 示例

摘要

For some problems with too many solutions, one way to obtain the more desirable solutions is to assign each solution a weight that characterizes its importance quantitatively, and then compute the solutions whose weights are over (resp. below) a given threshold. This paper studies computing weighted solutions for a given computational problem, in the context of Answer Set Programming (ASP). In particular, we investigate two sorts of methods for computing weighted solutions: one method suggests modifying the ASP representation of the problem to compute weighted solutions using an existing ASP solver and the other suggests modifying the search algorithm of the answer set solver to compute weighted solutions incre mentally. The applicability of these methods are shown on two sorts of problems: reconstructing weighted phylogenies (for Indo-European languages and for Quercus species) and finding weighted plans (for Blocks World planning problems). In the experiments with the representation-based method, the answer set solver CLASP is used and weight functions are represented in ASP. For the search-based method, the algorithm of CLASP is modified (the modified solver is called clasp-w) and weight functions are implemented in C++. For phylogenies, two weight functions are introduced by incorporating domain-specific information about groupings of species; one of them cannot be represented in ASP due to some mathematical functions not supported by the ASP solvers. For plans, we define a weight function that characterizes the total cost of executing actions in a plan. In these experiments the following are observed. With weight measures that can be represented in ASP, the search-based method outperforms the representation-based method in terms of computational efficiency (both time and space). With weight functions that cannot be represented in ASP, the search-based method provides a tool for computing weighted solutions in ASP. The search-based method can be applied to different domains, without modifying the algorithm of CLASP-W; in that sense, the search-based method is modular and can be useful to other ASP applications. With either method, plausible phylogenies among many can be found without computing all phylogenies and requiring historical linguists to go over them manually, and less costly plans can be found without computing all plans; in that sense, our methods contribute to phylogenetics and AI planning studies as well.
机译:对于太多解决方案的某些问题,一种获得更理想解决方案的方法是为每个解决方案分配一个定量的权重,以表征其重要性,然后计算权重超过(低于)给定阈值的解决方案。本文在答案集编程(ASP)的背景下研究给定计算问题的加权计算解。特别是,我们研究了两种计算加权解的方法:一种方法建议修改问题的ASP表示以使用现有的ASP解算器计算加权解,另一种方法建议修改答案集求解器的搜索算法以计算加权解精神上增加。这些方法的适用性在两种类型的问题上得到了证明:重建加权的系统发育史(用于印度-欧洲语言和栎属物种)和找到加权的计划(针对Blocks World规划问题)。在基于表示方法的实验中,使用了答案集求解器CLASP,权重函数用ASP表示。对于基于搜索的方法,修改了CLASP的算法(修改后的求解器称为clasp-w),权重函数用C ++实现。对于系统发育,通过合并有关物种分组的特定领域信息来引入两个权重函数;由于ASP解算器不支持某些数学函数,因此其中之一无法在ASP中表示。对于计划,我们定义了权重函数,该函数描述了计划中执行操作的总成本。在这些实验中,观察到以下情况。使用可以在ASP中表示的权重度量,基于搜索的方法在计算效率(时间和空间)方面都优于基于表示的方法。由于权重函数无法在ASP中表示,因此基于搜索的方法提供了一种用于在ASP中计算加权解决方案的工具。基于搜索的方法可以应用于不同的领域,而无需修改CLASP-W的算法;从这种意义上说,基于搜索的方法是模块化的,并且对其他ASP应用程序很有用。无论采用哪种方法,都可以在许多系统中找到合理的系统发育,而无需计算所有系统发育,并且需要历史语言学家手动进行检查,而成本较低的计划可以在不计算所有计划的情况下找到。从这个意义上讲,我们的方法也有助于系统发育和AI规划研究。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号