On the graph traversal method for evaluating linear binary-chain programs

来源 :Science in China(Series E:Technological Sciences) | 被引量 : 0次 | 上传用户:zhangmin6278
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Grahne et al. have presented a graph algorithm for evaluating a subset of recursive queries. This method consists of two phases. In the first phase, the method transforms a linear binary-chain program into a set of equations over expressions containing predicate symbols. In the second phase, a graph is constructed from the equations and the answers are produced by traversing the relevant paths. A new algorithm is described which requires less time than Grahne’ s. The key idea of the improvement is to reduce the search space that will be traversed when a query is invoked. Further, the evaluation of cyclic data is speeded up by generating most answers directly in terms of the answers already found and the associated “path information” instead of traversing the corresponding paths as usual. In this way, this algorithm achieves a linear time complexity for both acyclic and most of cyclic data. Grahne et al. Have presented a graph algorithm for evaluating a subset of recursive queries. This method consists of two phases. In the first phase, the method transforms a linear binary-chain program into a set of equations over expressions containing predicate symbols. In the second phase, a graph is constructed from the equations and the answers are produced by traversing the relevant paths. A new algorithm is described which requires less time than Grahne ’s. The key idea of ​​the improvement is to reduce the search space that will Further, the evaluation of cyclic data is speeded up by generating most answers directly in terms of the answers already found and the associated “path information ” instead of traversing the corresponding paths as usual. way, this algorithm achieves a linear time complexity for both acyclic and most of cyclic data.
其他文献
我国的房屋建筑行业在近些年得到了很快的发展,产业链模式也趋于完善,房屋建造工程的成本也就变得越来越重要,努力减少房屋建造过程中的成本投入,提高房屋建造工程造价的水平
县级融媒体中心建设的三大目标,即“主流舆论阵地”“社区信息枢纽”与“综合服务平台”,具有很强的媒介治理导向.在新冠疫情对社会治理体系造成考验的背景下,县级融媒体的业
近些年来,我国对建筑行业提出了更高的要求,其中最关键的是对在建筑工程中所涉及到的建筑投资资金、对工程质量安全和工程造价全过程控制方法的要求也越来越高.在建设工程中
建筑给排水设计施工与人们的日常生活息息相关,做好这项工作对促进建筑各方面的发展有重要的作用.基于此,本文在分析建筑给排水设计施工中常见问题的基础上,提出对应的措施,
迅猛发展的计算机信息技术在建设工程中也得到了很广泛的应用,其中,建筑信息模型技术(BIM)正在引领着建筑行业向着更高层次发展着,而原有工程在造价管理上存在着一些问题,通
随着社会经济和市场经济的快速发展,我国的纺织行业的发展水平也有了显著提高.人们生活水平的不断提高,使得人们对纺织品的质量要求也越来越高.近些年,纺织品甲醛含量超标事
在经济高速发展的今天,建筑事业也在蓬勃的发展当中.面对目前建筑事业的发展,关于工程造价的讨论也逐步走到人们的视野当中.工程造价的动态控制是目前人们研究的一个重点,如
土建工程包含的种类有很多,但无论是哪一个种类的工程建设,都会涉及造价控制问题,对于企业来说,效益代表着企业的发展,效益低下,企业势必会逐渐倒闭,效益高,势必能为企业发展
随着我国社会经济的迅猛发展,我国的城市化进程也在不断加快,随着我国人口的增长,城市建筑用地愈发紧张,所以在目前城市建筑中,高层建筑得到了迅速的发展.而且由于环境恶化,
1966年的“五一六通知”后,多数文化机关受到冲击,大批文化人成为“革命”对象,北京街头却在此时出现了一份新创刊的报纸——《前进报》。就是这份仅仅存活了103天(1966年9