The design of concurrent systems has to deal with the satisfaction of conditions of good behavior. In this work the way to model and analyze concurrent systems is using a subclass of Petri nets that is an extension of a previous class studied for the same
De nition 2.10 A 2Simple Sequential Process with Several Resources S P SR is a Petri net N= hP fp0 g PR; T; F i, such that: 1. The subnet generated by the set X= P fp0 g T is a S 2 P . 2. PR 6=; and (P fp0 g)\ PR=;. 3. 8r 2 PR; 9Y such that Y T:C= 0, Y 0, r 2 kY k, p0 2 kY k, kY k\ P 6=; .= t u P1_0
T11_0
T12_0
T2_4
P11_1
P12_1
R1
P2_4
T11_1
T12_1 R2
T2_3
P11_2
P12_2 R3
P2_3
R5 T11_2 T12_2 T2_2
P2_0
P11_3
P12_3
P2_2
De nition 2.11 A marking M in a net that belongs 2 to the class S P SR is acceptable if and only if 8t 2 T; 9 such that M t>. t u
R4 T11_3 T12_3
T2_1
P2_1 P12_4
T12_4
T2_0
Previous de nition says that every transition in the net can be red, almost once, after a sequence of rings from this marking. Note that from an acceptable marking we can reach markings that are not acceptable. Next, Weighted Simple Sequential Processes with Several Resources, W S 2 P SR, are de ned as the S 2 P SR except for the use of resources (in this case, weights are allowed for arcs that connect places representing resources with transitions representing the beginning or the end of its use). The only restriction in arc weights is that the use of resources must be conservative. cess with Several Resources, W S
P SR is a generalized Petri net N= hP fp0 g PR; T; F i, such that:
Figure 2: The S 3 P SR resulting from composition of the ones depicted before via shared resources. 2. Let Ni= hPi Pi0 PRi; Ti; Fi i, i 2 f1; 2g be two S 3 P R, such that (P1 P10 )\ (P2 P20 )=;, PR1\ PR2= PC (6=;) (in this case we will say that N1 and N2 are two composable S 3 P R); then, the net, N= hP P 0 PR; T; F i resulting from composition of N1 and N2 via PC (it is denoted by N= N1 N2 ) de ned in the following way: (a) (b) (c) (d) (e) P= P 1 P2 0 0 P 0= P1 P 2 PR= PR1 PR2 T= T 1 T2 F= F 1 F2 t u
De nition 2.12 A Weighted Simple Sequential Pro2 1. The subnet generated by X= P fp0 g T is a S2P . 2. PR 6=; and (P fp0 g)\ PR=;. 3. 8r 2 PR, 9Y such that Y T:C= 0, Y 0, r 2 kY k, p0 2 kY k, kY k\ P 6=; .= t u
is also a S 3P R.
De nition 2.15 A marking
De nition 2.13 A marking
M in a System of Simple Sequential Processes with Resources, S 3 P R, is acceptable if the marking of every S 2 P R that compose the system is acceptable. t u
M in a Weighted Simple Sequential Process with Several Resources, W S 2 P SR, is acceptable if 8t 2 T; 9 such that M t>. t u
This de nition reproduces the requisites demanded for S 2 P SR. Next, we are going to remember a couple of de nitions from 2] for better a comprehension of the new ones.
In words, every transition in the net can be red after a nite sequence of rings starting from this marking. As in a previous similar de nition, we must remember that from an acceptable marking a nonacceptable marking can be reached. W S 3 P SR,
De nition 2.16 A system of
can be de ned recursively as:
W S 2 P SR,
called
De nition 2.14 A system of S 2P R, S 3P R, is dened recursively as: 1. A S 2 P R is a S 3 P R.
1. A W S 2 P SR is a W S 3 P SR. 2. Let Ni= hPi Pi0 PRi; Ti; Fi i, i 2 f1; 2g be two 0 0 W S 3 P SR, such that (P1 P1 )\ (P2 P2 )=;, PR1\ PR2= PC ( 6=; ) (in this case we will say that N1 and N2 are two composable W S 3 P SR);

sequential programs); one attempt at denotational semantics for concurrent ...cation of properties (such as liveness, termination) for processes, or any...
is a conservative extension of the previous one....Introduction Liveness properties of concurrent systems...CS95] for sequential deterministic processes, new ...
3 Safety and Liveness Reachability properties are ...Timed Model for Communicating Sequential Processes. ...Concurrent and Real-time System: The CSP approach...
热门文档