• Keine Ergebnisse gefunden

Consider the Petri net below, describing Lamport’s 1-bit mutual exclusion algorithm.

N/A
N/A
Protected

Academic year: 2021

Aktie "Consider the Petri net below, describing Lamport’s 1-bit mutual exclusion algorithm."

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Concurrency Theory (SS 2015) Out: Wed, May 20 Due: Tue, May 26

Exercise Sheet 5

Prof. Meyer, Furbach, D’Osualdo Technische Universit¨at Kaiserslautern

Problem 1: Lamport’s Mutual Exclusion Algorithm

Consider the Petri net below, describing Lamport’s 1-bit mutual exclusion algorithm.

cs

1

idle

1

req

1

nid

1

id

1

af ter you

2

await

2

id

2

idle

2

cs

2

req

2

(a) Set up the co-linear property one would want the mutex to satisfy and determine the connectivity and trap matrices of the given Petri net.

(b) Prove that the basic verification system is feasible.

(c) Prove that the enhanced verification system is infeasible.

How do you interpret the fact that bvs is feasible and evs infeasible?

Problem 2: Minimal Traps vs Generating Traps

(a) Give a Petri net where the minimal traps are a family of generating traps and describe that family.

(b) Give a Petri net where the set of minimal traps are not generating and describe both the minimal traps and a family of generating traps.

(c) Give a Petri net where the only trap is the empty set.

(2)

Problem 3: Family of Generating Traps

Add arcs to the Petri net N below so that its family of generating traps contains exponentially (in N ’s size) many traps. Once added, describe N = (S, T, W ) formally and prove that the family of generating traps is exponential in N ’s size.

t

1,2

p

1

p

−1

p

2

p

−2

· · · · · · · · · t

n−1,n

p

n

p

−n

Referenzen

ÄHNLICHE DOKUMENTE

A labelled Petri net is a tuple N = (S, T, W, M 0 , X, λ, F ) where S, T, W and M 0 are the finite set of places, transitions, the weight function and the initial marking

(a) Let load, store and inc be atomic operations for loading a variable’s value into cache, storing a variable’s cache value into memory and incrementing a variable’s cache value. If

(a) set up the colinear property one would want the mutex to satisfy and determine the connectivity and trap matrices of the given Petri net;. (b) prove that the basic

In both cases provide the initial marking of the additional places you might have added and argument why your Petri nets do what

Add arcs to the Petri net N below so that its family of generating traps contains exponentially (in N ’s size)

Provide the set of possible extensions and cut-offs at each iteration.. What do

Firing t2 initializes all source links as well as state places, the inner activity, the event handlers, and for each scope embedded in the process its respective place !push

Deduce from Remark 35.12 of the Lecture Notes that column orthogonality relations for the Brauer characters take the form Π tr Φ =