{"title":"Extremal problems in logic programming and stable model computation","authors":"Pawel Cholewinski , Miroslaw Truszczynski","doi":"10.1016/S0743-1066(98)10020-1","DOIUrl":null,"url":null,"abstract":"<div><p>We study the following problem: given a class of logic programs ¢, determine the maximum number of stable models of a program from ©. We establish the maximum for the class of all logic programs with at most <em>n</em> clauses, and for the class of all logic programs of size at most <em>n</em>. We also characterize the programs for which the maxima are attained. We obtained similar results for the class of all disjunctive logic programs with at most <em>n</em> clauses, each of length at most <em>m</em>, and for the class of all disjunctive logic programs of size at most <em>n</em>. Our results on logic programs have direct implication for the design of algorithms to compute stable models. Several such algorithms, similar in spirit to the Davis-Putnam procedure, are described in the paper. Our results imply that there is an algorithm that finds all stable models of a program with <em>n</em> clauses after considering the search space of size O(3<sup><em>n</em>/3</sup>) in the worst case. Our results also provide some insights into the question of representability of families of sets as families of stable models of logic programs.</p></div>","PeriodicalId":101236,"journal":{"name":"The Journal of Logic Programming","volume":"38 2","pages":"Pages 219-242"},"PeriodicalIF":0.0000,"publicationDate":"1999-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/S0743-1066(98)10020-1","citationCount":"19","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The Journal of Logic Programming","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0743106698100201","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 19
Abstract
We study the following problem: given a class of logic programs ¢, determine the maximum number of stable models of a program from ©. We establish the maximum for the class of all logic programs with at most n clauses, and for the class of all logic programs of size at most n. We also characterize the programs for which the maxima are attained. We obtained similar results for the class of all disjunctive logic programs with at most n clauses, each of length at most m, and for the class of all disjunctive logic programs of size at most n. Our results on logic programs have direct implication for the design of algorithms to compute stable models. Several such algorithms, similar in spirit to the Davis-Putnam procedure, are described in the paper. Our results imply that there is an algorithm that finds all stable models of a program with n clauses after considering the search space of size O(3n/3) in the worst case. Our results also provide some insights into the question of representability of families of sets as families of stable models of logic programs.
逻辑规划与稳定模型计算中的极值问题
我们研究了以下问题:给定一类逻辑程序ⅱ,从©中确定一个程序的最大稳定模型数。我们建立了最多有n个子句的逻辑程序类的最大值,以及最多有n个子句的逻辑程序类的最大值。我们还刻画了那些达到最大值的程序。对于最多n个子句且每个子句长度最多为m的所有析取逻辑程序类,以及最多n个子句长度的所有析取逻辑程序类,我们都得到了类似的结果。我们关于逻辑程序的结果对设计计算稳定模型的算法有直接的意义。本文描述了几种类似于Davis-Putnam过程的算法。我们的研究结果表明,在考虑最坏情况下搜索空间为0 (3n/3)的情况下,存在一种算法可以找到包含n个子句的程序的所有稳定模型。我们的研究结果也对集合族作为逻辑规划的稳定模型族的可表征性问题提供了一些见解。
本文章由计算机程序翻译,如有差异,请以英文原文为准。