首页> 外文会议>International conference on Information and knowledge management >An optimal graph traversal algorithm for evaluating linear binary-chain programs
【24h】

An optimal graph traversal algorithm for evaluating linear binary-chain programs

机译:评估线性二进制链程序的最优图遍历算法

获取原文
获取外文期刊封面目录资料

摘要

Grahne et al. have presented a graph algorithm for 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. Here we describe a new algorithm which requires less time than the algorithm of Grahne et al. The key idea of the improvement is to reduce the search space that will be traversed when a query is invoked. Further, we speed up the evaluation of cyclic data 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, our algorithm achieves a linear time complexity for both cyclic and non-cyclic data.

机译:

Grahne等。已经提出了一种用于递归查询子集的图算法。该方法包括两个阶段。在第一阶段,该方法将线性二进制链程序转换为包含谓词符号的表达式的一组方程式。在第二阶段,根据方程式构建图形,并通过遍历相关路径来产生答案。在这里,我们描述了一种比Grahne等人的算法所需时间更少的新算法。改进的关键思想是减少调用查询时将遍历的搜索空间。此外,我们通过直接根据已找到的答案和关联的“路径信息”生成大多数答案,而不是像往常那样遍历相应的路径,从而加快了循环数据的评估速度。这样,我们的算法就可以实现循环和非循环数据的线性时间复杂度。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号