arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.10333cs.LOcs.CC
收藏

约束逻辑程序设计中的反统一问题

Anti-unification in Constraint Logic Programming

Gonzague Yernaux, Wim Vanhoof

摘要:

反统一是指将两个(或更多)目标概括为一个单一的、更一般的目标的过程,这个目标抓住了所有初始目标所共有的一些结构。一般来说,人们通常对计算通常被称为最具体的概括感兴趣,这是一个概括,捕获最大数量的共享结构。在这项工作中,我们解决了CLP中的反统一问题,其中目标可以被视为无序的原子和/或约束集。我们表明,虽然一个最具体的推广的概念可以很容易地定义在这种情况下,计算它成为一个NP完全问题。随后,我们介绍了一个泛化算法,计算一个定义良好的抽象,其计算可以绑定到一个多项式的执行时间。初步实验表明,即使是一个天真的实现我们的算法产生可接受的概括,在一个有效的方式。正在考虑接受TPLP。

英文摘要:

Anti-unification refers to the process of generalizing two (or more) goals into a single, more general, goal that captures some of the structure that is common to all initial goals. In general one is typically interested in computing what is often called a most specific generalization, that is a generalization that captures a maximal amount of shared structure. In this work we address the problem of anti-unification in CLP, where goals can be seen as unordered sets of atoms and/or constraints. We show that while the concept of a most specific generalization can easily be defined in this context, computing it becomes an NP-complete problem. We subsequently introduce a generalization algorithm that computes a well-defined abstraction whose computation can be bound to a polynomial execution time. Initial experiments show that even a naive implementation of our algorithm produces acceptable generalizations in an efficient way. Under consideration for acceptance in TPLP.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑