Linear time analysis of properties of conflict-free and general Petri nets

  • Authors:
  • Paola Alimonti;Esteban Feuerstein;Luigi Laura;Umberto Nanni

  • Affiliations:
  • Dipartimento di Informatica e Sistemistica Antonio Ruberti, Sapienza University of Rome, via Ariosto 25, I-00185 Roma, Italy;Departamento de Computacion, Universidad de Buenos Aires, Pabellon I, Ciudad Universitaria, 1428 Buenos Aires, Argentina;Dipartimento di Informatica e Sistemistica Antonio Ruberti, Sapienza University of Rome, via Ariosto 25, I-00185 Roma, Italy;Dipartimento di Informatica e Sistemistica Antonio Ruberti, Sapienza University of Rome, via Ariosto 25, I-00185 Roma, Italy

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2011

Quantified Score

Hi-index 5.23

Visualization

Abstract

We introduce the notion of a T-path within Petri nets, and propose to adopt the model of directed hypergraphs in order to determine properties of nets; in particular, we study the relationships between T-paths and firable sequences of transitions. Let us consider a Petri net P= and the set of places with a positive marking in M"0, i.e., P"0={p|M"0(p)0}. If we regard the net as a directed graph, the existence of a simple path from any place in P"0 to a transition t is, of course, a necessary condition for the potential firability of t. This is sufficient only if the net is a state machine, where |^*t|=|t^*|=1 for all t@?T. In this paper we show that the existence of a T-path from any subset of P"0 to a transition t is a more restrictive condition and is, again, a necessary condition for the potential firability of t. But, in this case: (a) if P is a conflict-free Petri net, this is also a sufficient condition, (b) if P is a general Petri net, t is potentially firable by increasing the number of tokens inP"0. For conflict-free nets (CFPN) we consider the following problems: (a) determining the set of firable transitions, (b) determining the set of coverable places, (c) determining the set of live transitions, (d) deciding the boundedness of the net. For all these problems we provide algorithms requiring linear space and time, i.e., O(|P|+|T|+|A|), for a net P=. Previous results for this class of networks are given by Howell et al. (1987) [20], providing algorithms for solving problems in conflict-free nets in O(|P|x|T|) time and space. Given a Petri net and a marking M, the well-known coverability problem consists in finding a reachable marking M^' such that M^'=M; this problem is known to be EXPSPACE hard (Rackoff (1978)[33]). For general Petri nets we provide a partial answer to this problem. M is coverable by augmentation if it is coverable from an augmented markingM"0^' of the initial marking M"0: M"0^'=M"0 and, for all p@?P, M"0^'(p)=0 if M"0(p)=0. We solve this problem in linear time. The algorithms for computing T-paths are incremental: it is possible to modify the network (adding new places, transitions, arcs, tokens), and update the set of potentially firable transitions and coverable places without recomputing them from scratch. This feature is meaningful when used during the interactive design of a system.