{"title":"更快地实现开关列表表示的 EQ 和 SE 查询","authors":"Ondřej Čepek, James Weigle","doi":"10.1007/s10472-023-09915-5","DOIUrl":null,"url":null,"abstract":"<div><p>A switch-list representation (SLR) of a Boolean function is a compressed truth table representation of a Boolean function in which only (i) the function value of the first row in the truth table and (ii) a list of switches are stored. A switch is a Boolean vector whose function value differs from the value of the preceding Boolean vector in the truth table. The paper Čepek and Chromý (JAIR 2020) systematically studies the properties of SLRs and among other results gives polynomial-time algorithms for all standard queries investigated in the Knowledge Compilation Map introduced in Darwiche and Marquis (JAIR 2002). These queries include consistency check, validity check, clausal entailment check, implicant check, equivalence check, sentential entailment check, model counting, and model enumeration. The most difficult query supported in polynomial time by the smallest number of representation languages considered in the Knowledge Compilation Map is the sentential entailment check (of which the equivalence check is a special case). This query can be answered in polynomial time for SLRs, as shown in Čepek and Chromý (JAIR 2020). However, the query-answering algorithm is an indirect one: it first compiles both input SLRs into OBDDs (changing the order of variables for one of them if necessary) and then runs the sentential entailment check on the constructed OBDDs (both respecting the same order of variables) using an algorithm from the monograph by Wegener (2000). In this paper we present algorithms that answer both the equivalence and the sentential entailment query directly by manipulating the input SLRs (hence eliminating the compilation step into OBDD), which in both cases improves the time complexity of answering the query by a factor of <i>n</i> for input SLRs on <i>n</i> variables.</p></div>","PeriodicalId":7971,"journal":{"name":"Annals of Mathematics and Artificial Intelligence","volume":"92 5","pages":"1097 - 1112"},"PeriodicalIF":1.2000,"publicationDate":"2023-12-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A faster implementation of EQ and SE queries for switch-list representations\",\"authors\":\"Ondřej Čepek, James Weigle\",\"doi\":\"10.1007/s10472-023-09915-5\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>A switch-list representation (SLR) of a Boolean function is a compressed truth table representation of a Boolean function in which only (i) the function value of the first row in the truth table and (ii) a list of switches are stored. A switch is a Boolean vector whose function value differs from the value of the preceding Boolean vector in the truth table. The paper Čepek and Chromý (JAIR 2020) systematically studies the properties of SLRs and among other results gives polynomial-time algorithms for all standard queries investigated in the Knowledge Compilation Map introduced in Darwiche and Marquis (JAIR 2002). These queries include consistency check, validity check, clausal entailment check, implicant check, equivalence check, sentential entailment check, model counting, and model enumeration. The most difficult query supported in polynomial time by the smallest number of representation languages considered in the Knowledge Compilation Map is the sentential entailment check (of which the equivalence check is a special case). This query can be answered in polynomial time for SLRs, as shown in Čepek and Chromý (JAIR 2020). However, the query-answering algorithm is an indirect one: it first compiles both input SLRs into OBDDs (changing the order of variables for one of them if necessary) and then runs the sentential entailment check on the constructed OBDDs (both respecting the same order of variables) using an algorithm from the monograph by Wegener (2000). In this paper we present algorithms that answer both the equivalence and the sentential entailment query directly by manipulating the input SLRs (hence eliminating the compilation step into OBDD), which in both cases improves the time complexity of answering the query by a factor of <i>n</i> for input SLRs on <i>n</i> variables.</p></div>\",\"PeriodicalId\":7971,\"journal\":{\"name\":\"Annals of Mathematics and Artificial Intelligence\",\"volume\":\"92 5\",\"pages\":\"1097 - 1112\"},\"PeriodicalIF\":1.2000,\"publicationDate\":\"2023-12-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Annals of Mathematics and Artificial Intelligence\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://link.springer.com/article/10.1007/s10472-023-09915-5\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Annals of Mathematics and Artificial Intelligence","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s10472-023-09915-5","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
A faster implementation of EQ and SE queries for switch-list representations
A switch-list representation (SLR) of a Boolean function is a compressed truth table representation of a Boolean function in which only (i) the function value of the first row in the truth table and (ii) a list of switches are stored. A switch is a Boolean vector whose function value differs from the value of the preceding Boolean vector in the truth table. The paper Čepek and Chromý (JAIR 2020) systematically studies the properties of SLRs and among other results gives polynomial-time algorithms for all standard queries investigated in the Knowledge Compilation Map introduced in Darwiche and Marquis (JAIR 2002). These queries include consistency check, validity check, clausal entailment check, implicant check, equivalence check, sentential entailment check, model counting, and model enumeration. The most difficult query supported in polynomial time by the smallest number of representation languages considered in the Knowledge Compilation Map is the sentential entailment check (of which the equivalence check is a special case). This query can be answered in polynomial time for SLRs, as shown in Čepek and Chromý (JAIR 2020). However, the query-answering algorithm is an indirect one: it first compiles both input SLRs into OBDDs (changing the order of variables for one of them if necessary) and then runs the sentential entailment check on the constructed OBDDs (both respecting the same order of variables) using an algorithm from the monograph by Wegener (2000). In this paper we present algorithms that answer both the equivalence and the sentential entailment query directly by manipulating the input SLRs (hence eliminating the compilation step into OBDD), which in both cases improves the time complexity of answering the query by a factor of n for input SLRs on n variables.
期刊介绍:
Annals of Mathematics and Artificial Intelligence presents a range of topics of concern to scholars applying quantitative, combinatorial, logical, algebraic and algorithmic methods to diverse areas of Artificial Intelligence, from decision support, automated deduction, and reasoning, to knowledge-based systems, machine learning, computer vision, robotics and planning.
The journal features collections of papers appearing either in volumes (400 pages) or in separate issues (100-300 pages), which focus on one topic and have one or more guest editors.
Annals of Mathematics and Artificial Intelligence hopes to influence the spawning of new areas of applied mathematics and strengthen the scientific underpinnings of Artificial Intelligence.