Petri Nets, Assignments

Törn, Aimo A. -- Spring 98 Course  Updated 3.3.98

You may complete the assignment on your own or as a group of two. The assignment is due on April 29.

  1. Design a tool that derives the reachability tree of a Petri Net. Assume that the net is given in the form used by SimNet and that it is read from file. Prior to the computation of the reachability tree, the user should be able to enter a dialog for specifying some predicates that he wants to test, like set of reachable markings, and bounds on markings. The tool should collect standard information like: total number of nodes, max marking for each place, dead markings.

    The output of the tree is a problem on its own. Here one could choose to show the tree only for small trees or just part of the tree, and otherwise enter an interactive mode where the user have some choices on inquiries about the tree. This could include checking a marking, information on the firing sequence leading to an existing marking, etc.

    Because the tree may become very large there must obviously be some upper bound on the number of nodes to consider. When this bound is reached a notice is given and some intelligent output of the collected information should be made before entering the interactive mode.

    In deriving the tree it might be most interesting to do this in a breadth-first manner. It could be of interest to be able to store the tree and to read it from file. If feasible, include the possibility to have inhibitor arcs in the net.