In-place Graph Rewriting with Interaction Nets

被引:0
|
作者
Mackie, Ian [1 ]
Sato, Shinya [2 ]
机构
[1] Ecole Polytech, CNRS UMR 7161, LIX, F-91128 Palaiseau, France
[2] Ibaraki Univ, Univ Educ Ctr, 2-1-1 Bunkyo, Mito, Ibaraki 3108512, Japan
关键词
D O I
10.4204/EPTCS.225.4
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
An algorithm is in-place, or runs in-situ, when it does not need any additional memory to execute beyond a small constant amount. There are many algorithms that are efficient because of this feature, therefore it is an important aspect of an algorithm. In most programming languages, it is not obvious when an algorithm can run in-place, and moreover it is often not clear that the implementation respects that idea. In this paper we study interaction nets as a formalism where we can see directly, visually, that an algorithm is in-place, and moreover the implementation will respect that it is in-place. Not all algorithms can run in-place however. We can nevertheless still use the same language, but now we can annotate parts of the algorithm that can run in-place. We suggest an annotation for rules, and give an algorithm to find this automatically through analysis of the interaction rules.
引用
收藏
页码:15 / 24
页数:10
相关论文
共 50 条
  • [1] A study of two graph rewriting formalisms: Interaction Nets and MONSTR
    Banach, R
    Papadopoulos, GA
    JOURNAL OF PROGRAMMING LANGUAGES, 1997, 5 (01): : 201 - 231
  • [2] Graph-Rewriting Petri Nets
    Kulcsar, Geza
    Lochau, Malte
    Schuerr, Andy
    GRAPH TRANSFORMATION (ICGT 2018), 2018, 10887 : 79 - 96
  • [3] Frameworks for designing in-place graph algorithms
    Chakraborty, Sankardeep
    Mukherjee, Anish
    Raman, Venkatesh
    Satti, Srinivasa Rao
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2022, 123 : 1 - 19
  • [4] Optimal In-place Algorithms for Basic Graph Problems
    Chakraborty, Sankardeep
    Sadakane, Kunihiko
    Satti, Srinivasa Rao
    COMBINATORIAL ALGORITHMS, IWOCA 2020, 2020, 12126 : 126 - 139
  • [5] From term rewriting to generalized interaction nets
    Fernandez, Maribel
    Mackie, Ian
    Lecture Notes in Computer Science, 1996, 1140
  • [6] Interaction nets and term-rewriting systems
    Fernandez, M
    Mackie, I
    THEORETICAL COMPUTER SCIENCE, 1998, 190 (01) : 3 - 39
  • [7] A Scalable Data Structure for Efficient Graph Analytics and In-Place Mutations
    Firmli, Soukaina
    Chiadmi, Dalila
    DATA, 2023, 8 (11)
  • [8] From Functional Programs to Interaction Nets via the Rewriting Calculus
    Cirstea, Horatiu
    Faure, Germain
    Fernandez, Maribel
    Mackie, Ian
    Sinot, Francois-Regis
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 174 (10) : 39 - 56
  • [9] MARCHING IN-PLACE
    WARREN, K
    NATION, 1995, 261 (15) : 524 - 524
  • [10] In-Place Sorting
    Geffert, Viliam
    Gajdos, Jozef
    SOFSEM 2011: THEORY AND PRACTICE OF COMPUTER SCIENCE, 2011, 6543 : 248 - 259