首页> 外文期刊>Higher-order and symbolic computation >Universal Regular Path Queries
【24h】

Universal Regular Path Queries

机译:通用规则路径查询

获取原文
获取原文并翻译 | 示例
       

摘要

Given are a directed edge-labelled graph G with a distinguished node n_0, and a regular expression P which may contain variables. We wish to compute all substitutions φ (of symbols for variables), together with all nodes n such that all paths n_0 → n are in φ(P). We derive an algorithm for this problem using relational algebra, and show how it may be implemented in Prolog. The motivation for the problem derives from a declarative framework for specifying compiler optimisations.
机译:给出具有有区别的节点n_0的有向边标记图G和可包含变量的正则表达式P。我们希望与所有节点n一起计算(变量符号的)所有替换φ,以便所有路径n_0→n都在φ(P)中。我们使用关系代数推导了针对此问题的算法,并展示了如何在Prolog中实现它。该问题的动机来自用于指定编译器优化的声明性框架。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号