Question: Consider the following Petri net with the initial state as shown in the figure. The number on the arrows indicates how many tokens have to

Consider the following Petri net with the initial state as shown in the figure. The number on the arrows indicates how many tokens have to be consumed or will be produced. Assume we start from initial state for all the questions. 8 02 10 -11 P1 -12 -15 10 3 2 P3

(1) Is it possible for deadlock to occur? If yes, state the sequence of transaction that will lead to deadlock. (2 points)

(2) State the shortest firing sequence to put 4 tokens in p3, and no other places contain any tokens. (2 points)

(3) State the shortest firing sequence to put 4 tokens in p2, no other places contain any tokens. (2 points)

(4) What is the minimum number of transition needed before we can fire t2? show your calculation. (4 points)

8 02 10 -11 P1 -12 -15 10 3 2 P3

Step by Step Solution

3.40 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve the questions related to this Petri net lets analyze the initial setup and the transitions ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Physics Questions!