{"title":"Optimizing TRIEs for ordered pattern matching is /spl Pi//sub 2//sup P/-complete","authors":"Chih-Long Lin","doi":"10.1109/SCT.1995.514862","DOIUrl":null,"url":null,"abstract":"We consider the complexity of constructing a data structure, called TRIEs, with the minimum operational cost for the ordered pattern matching problem, a problem abstracting the essence of executing Prolog problems; a TRIE with minimal cost corresponds to a program with the minimum worst case operational cost. Based on the recent non-approximability results developed by Arora et al. (1992) and Condon et al. (1993), we show that to approximate the optimum cost of this problem to within some constant ratio is /spl Pi//sub 2//sup P/-hard. The result implies that the problem of Prolog program optimization is probably as hard.","PeriodicalId":318382,"journal":{"name":"Proceedings of Structure in Complexity Theory. Tenth Annual IEEE Conference","volume":"31 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1995-06-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of Structure in Complexity Theory. Tenth Annual IEEE Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SCT.1995.514862","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4
Abstract
We consider the complexity of constructing a data structure, called TRIEs, with the minimum operational cost for the ordered pattern matching problem, a problem abstracting the essence of executing Prolog problems; a TRIE with minimal cost corresponds to a program with the minimum worst case operational cost. Based on the recent non-approximability results developed by Arora et al. (1992) and Condon et al. (1993), we show that to approximate the optimum cost of this problem to within some constant ratio is /spl Pi//sub 2//sup P/-hard. The result implies that the problem of Prolog program optimization is probably as hard.
我们考虑了构建一个称为try的数据结构的复杂性,以最小的操作成本来解决有序模式匹配问题,这个问题抽象了执行Prolog问题的本质;具有最小成本的TRIE对应于具有最小最坏情况运行成本的程序。基于Arora et al.(1992)和Condon et al.(1993)最近提出的非近似性结果,我们表明,要将该问题的最佳成本近似为/spl Pi//sub 2//sup P/-hard。结果表明,Prolog程序优化问题可能同样困难。