期刊文献+
共找到5篇文章
< 1 >
每页显示 20 50 100
基于倒排索引的正则路径查询算法 被引量:2
1
作者 夏秀峰 孙翔天 +3 位作者 孙尧 邓国鹏 朱康 邱涛 《计算机工程与设计》 北大核心 2024年第8期2343-2349,共7页
对于图数据上的正则路径查询(regular path query, RPQ)问题,其使用正则表达式定义图中两个节点之间的约束。针对现有的RPQ在图上遍历匹配方法效率低下这一问题,提出一种基于倒排索引的RPQ算法,在图上构建标签的倒排索引,匹配过程中快... 对于图数据上的正则路径查询(regular path query, RPQ)问题,其使用正则表达式定义图中两个节点之间的约束。针对现有的RPQ在图上遍历匹配方法效率低下这一问题,提出一种基于倒排索引的RPQ算法,在图上构建标签的倒排索引,匹配过程中快速检索标签的相应倒排列表。设计的IRPQ算法将查询转化为面向倒排列表的查询计划树,经过优化以减少冗余列表合并操作。在真实数据集上进行了实验,其结果表明,IRPQ及其优化算法相比现有方法显著提高了查询性能。 展开更多
关键词 属性图模型 正则路径查询 倒排索引 查询计划树 树结构递归 启发式算法 查询树优化
在线阅读 下载PDF
Datalog 线性递归程序的自动编译
2
作者 何云 鲁汉榕 《武汉交通科技大学学报》 1998年第6期638-641,共4页
基于VPC-扩展图模式,给出了Datalog线性递归程序编译式的自动生成算法.研究表明,该算法能有效导出所有复杂类型Datalog线性递归程序的编译式.
关键词 演绎数据库 编译技巧 图模式 DATALOG程序
在线阅读 下载PDF
Graph Traversal and Top-Down Evaluation of Logic Queries
3
作者 陈阳军 《Journal of Computer Science & Technology》 SCIE EI CSCD 1998年第4期300-316,共17页
In this paper, an optimal method to handle cyclic and acyclic data relations in the linear recursive queries is proposed. High efficiency is achieved by integrating graph traversal mechanisms into a top-down evaluatio... In this paper, an optimal method to handle cyclic and acyclic data relations in the linear recursive queries is proposed. High efficiency is achieved by integrating graph traversal mechanisms into a top-down evaluation. In such a way the subsumption checks and the identification of cyclic data can be done very efficielltly First, based on the subsumption checks, the search space can be reduced drastically by avoiding any redundant expansion operation. In fact, in the case of non-cyclic data, the proposed algorithm requires only linear time for evaluating a linear recursive query. On the other hand, in the case of cyclic data, by using the technique for isolating strongly connected components a lot of answers can be generated directly in terms of the intermediate results and the relevant path information instead of evaluating them by performing algebraic operations. Since the cost of generating an answer is much less than that of evaluating an answer by algebraic operations, the time consumption for cyclic data can be reduced by an order of magnitude or more. 展开更多
关键词 recursive query top-down evaluation RQA/FQI strategy logic query graph traversal
原文传递
线性递归表达式的分类
4
作者 何云 鲁汉榕 《空军预警学院学报》 1999年第1期31-35,共5页
提出了一种强有力的困模式分析工具VPC-扩展图;基于VPC-扩展图,给出了线性递归表达式的一种完备分类方法,并导出了其相应的编译表达式。
关键词 演绎数据库 递归查询 查询编译 图模式
在线阅读 下载PDF
Magic Sets Revisited
5
作者 陈阳军 《Journal of Computer Science & Technology》 SCIE EI CSCD 1997年第4期346-365,共20页
This paper distinguishes among three kinds of linear recursions: canonical strongly linear recursion (CSLR), non-interdependent linear recursion (NILR) and interdependent linear recurstion (ILR) and presents an optima... This paper distinguishes among three kinds of linear recursions: canonical strongly linear recursion (CSLR), non-interdependent linear recursion (NILR) and interdependent linear recurstion (ILR) and presents an optimal algorithm for each. First, for the CSLRs, the magic-set method is refined in such a way that queries can be evaluated efficiently. Then, for the NILRS and ILRs, the concept of query dependency graphs is introduced to partition the rules of a program into a set of CSLRs and the computation is elaborated so that the oplimization for CSLRs can also be applied. 展开更多
关键词 Deductive database recursive query magic set query graph bottom-up evaluation.
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部