Petri网中的无环与有环反向计算
Acyclic and Cyclic Reversing Computations in Petri Nets
AI总结:
本文扩展了反向Petri网到着色Petri网的转换并给出正确性证明,探讨了在RPNs中引入环路的可能性,重点分析了因果语义下三种依赖定义对反向行为的影响。
摘要:
可逆计算构成了一种非常规的计算形式,其中任何已执行的操作序列都可以在计算过程中的任意时刻通过逆序执行来撤销。由于可逆计算为低功耗计算提供了机会,同时又在各种应用中至关重要或适用,因此它正受到越来越多的关注。在最近的工作中,我们提出了一种结构化的方法,将反向Petri网(RPNs)——一种嵌入了可逆计算的Petri网类型——转换为有界着色Petri网(CPNs)——传统Petri网的扩展,其中令牌携带数据值。RPNs中可能存在三种反向语义:回溯(撤销最近执行的动作)、因果反向(仅当动作的所有影响已被撤销时才能反向该动作)以及非因果反向(任何先前执行的动作都可以被反向)。在本文中,我们扩展了从RPN到CPN的转换,并给出了正确性的形式化证明。此外,还讨论了在RPNs中引入环路的可能性。我们分析了RPNs中允许哪些类型的环路以确保与当前语义的一致性。结果表明,与RPNs中环路相关的最有趣的情况出现在因果语义中,其中对依赖关系的不同解释导致网络在反向过程中表现出不同的行为。我们提出并讨论了三种依赖关系的定义。
英文摘要:
Reversible computations constitute an unconventional form of computing where any sequence of performed operations can be undone by executing in reverse order at any point during a computation. It has been attracting increasing attention as it provides opportunities for low-power computation, being at the same time essential or eligible in various applications. In recent work, we have proposed a structural way of translating Reversing Petri Nets (RPNs) - a type of Petri nets that embeds reversible computation, to bounded Coloured Petri Nets (CPNs) - an extension of traditional Petri Nets, where tokens carry data values. Three reversing semantics are possible in RPNs: backtracking (reversing of the lately executed action), causal reversing (action can be reversed only when all its effects have been undone) and out of causal reversing (any previously performed action can be reversed). In this paper, we extend the RPN to CPN translation with formal proofs of correctness. Moreover, the possibility of introduction of cycles to RPNs is discussed. We analyze which type of cycles could be allowed in RPNs to ensure consistency with the current semantics. It emerged that the most interesting case related to cycles in RPNs occurs in causal semantics, where various interpretations of dependency result in different net's behaviour during reversing. Three definitions of dependence are presented and discussed.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。