首页    期刊浏览 2024年11月26日 星期二
登录注册

文章基本信息

  • 标题:Rooted Graph Programs
  • 本地全文:下载
  • 作者:Detlef Plump ; Christopher Bak
  • 期刊名称:Electronic Communications of the EASST
  • 电子版ISSN:1863-2122
  • 出版年度:2012
  • 卷号:54
  • 语种:English
  • 出版社:European Association of Software Science and Technology (EASST)
  • 摘要:We present an approach for programming with graph transformation rules in which programs can be as efficient as programs in imperative languages. The basic idea is to equip rules and host graphs with distinguished nodes, so-called roots, and to match roots in rules with roots in host graphs. This enables graph transformation rules to be matched in constant time, provided that host graphs have a bounded node degree (which in practice is often the case). Hence, for example, programs with a linear bound on the number of rule applications run in truly linear time. We demonstrate the feasibility of this approach with a case study in graph colouring.
国家哲学社会科学文献中心版权所有