首页    期刊浏览 2024年12月04日 星期三
登录注册

文章基本信息

  • 标题:A Unification Algorithm for GP 2
  • 本地全文:下载
  • 作者:Ivaylo Hristakiev ; Detlef Plump
  • 期刊名称:Electronic Communications of the EASST
  • 电子版ISSN:1863-2122
  • 出版年度:2014
  • 卷号:71
  • 语种:English
  • 出版社:European Association of Software Science and Technology (EASST)
  • 摘要:The graph programming language GP 2 allows to apply sets of ruleschemata (or “attributed” rules) non-deterministically. To analyse conflicts of pro-grams statically, graphs labelled with expressisons are overlayed to construct criticalpairs of rule applications. Each overlay induces a system of equations whose solu-tions represent different conflicts. We present a rule-based unification algorithm forGP expressions that is terminating, sound and complete. For every input equation,the algorithm generates a finite set of substitutions. Soundness means that each ofthese substitutions solves the input equation. Since GP labels are lists constructed byconcatenation, unification modulo associativity and unit law is required. This prob-lem, which is also known as word unification, is infinitary in general but becomesfinitary due to GP’s rule schema syntax and the assumption that rule schemata areleft-linear. Our unification algorithm is complete in that every solution of an inputequation is an instance of some substitution in the generated set.
国家哲学社会科学文献中心版权所有