arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0603100cs.PL
收藏

Prolog程序的有效压缩

Efficient Compression of Prolog Programs

Alin Suciu, Kalman Pusztai

摘要:

我们提出了一个特殊用途的压缩算法类的Prolog程序的有效压缩。它是一种基于字典的压缩方法,专门为Prolog代码的压缩而设计,因此我们将其命名为PCA(Prolog Compression Algorithm)。根据实验结果,该方法提供了更好的压缩比国家的最先进的通用压缩算法。由于该算法与Prolog语法实体(例如原子,术语等)一起工作。Prolog原型的实现是直接的,并且非常容易在任何需要压缩的Prolog应用程序中使用。虽然该算法是为Prolog程序设计的,但该思想可以很容易地应用于其他(逻辑)语言编写的程序的压缩。

英文摘要:

We propose a special-purpose class of compression algorithms for efficient compression of Prolog programs. It is a dictionary-based compression method, specially designed for the compression of Prolog code, and therefore we name it PCA (Prolog Compression Algorithm). According to the experimental results this method provides better compression than state-of-the-art general-purpose compression algorithms. Since the algorithm works with Prolog syntactic entities (e.g. atoms, terms, etc.) the implementation of a Prolog prototype is straightforward and very easy to use in any Prolog application that needs compression. Although the algorithm is designed for Prolog programs, the idea can be easily applied for the compression of programs written in other (logic) languages.

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

↑