文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > An extension of the liveness theory for concurrent sequential processes competing for share
侵权投诉

An extension of the liveness theory for concurrent sequential processes competing for share

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

then, the net N= hP P 0 PR; T; F i resulting from composition of N1 and N2 via PC (it is denoted as N= N1 N2 ) de ned in the following way: (a) (b) (c) (d) (e) P= P 1 P2 0 0 P 0= P1 P2 PR= PR1 PR2 T= T 1 T2 F= F 1 F2 t u

W S 3 P SR.

De nition 2.21 Let

hN; M0 i be a marked Let M 2 R(N; M0) be a marking reachable from initial marking. There exist some deadlocked processes for marking M if and only if 9p 2 P such that M (p) 1^ 8t 2 p, 6 9, such that M ti.

t u

is also a W S 3 P SR.

hN; M0 i be For each resource r 2 of holders of this resource can be Pr= fp 2 P\ kY k j 8Y; Y T:C= 0; Y

W S 3 P SR.

De nition 2.22 Let

PR

a

marked the set de ned as 0; r 2 kY kg . t u

De nition 2.17 A marking M in a System of Weighted Simple Sequential Processes with Several Resources, W S 3 P SR, is acceptable if the marking of every W S 2 P SR that compose the system is acceptable. t u Lemma 2.18 Every place in a W S 3P SR belongs to a conservative component of the net.

Proof: Every place in the net belongs to the set P PR . Let p 2 P PR . If p 2 P, then it belongs to a strongly connected state machine that is, by de nition, conservative, and therefore the lemma holds. If p 2 PR . By de nition 2.12, we can state that 8p 2 PR, 9Y such that Y T:C= 0, Y 0, p 2 kY k, p0 2 kY k, kY k\ P 6=; .= t u

Roughly speaking, tokens in place p can not leave this place, i.e., they are blocked. De nition 2.23 Let hN; M0i be a marked W S 3 P SR. For each process place p 2 P the set of resources used by this place can be de ned as Rp= fr 2 PR\ kY k j 8Y; Y T:C= 0; Y 0; p 2 kY kg . t u hN; M0 i be a marked Let M 2 R(N; M0 ) be a reachable marking such that it has deadlocked processes. The following sets can be de ned:

W S 3 P SR.

De nition 2.24 Let

Lemma 2.19 Every conservative component in a 3 0 W S P SR that has

no places in the set P must contain at least a place from PR . Proof: Let Y be such that Y T:C= 0, Y 0, 0\ kY k=;, kY k\ P 6=; and let us suppose p that 8r 2 PR, r 2 Y . As every state machine is= related with other state machines exclusively via shared resources, that implies that the component Y is included in one of these state machines. But we supposed Y does not contain the idle place of this state{machine and it is contradictory with de nition 2.9. t u

1. P rocBM= f p 2 P j M (p) 1^ 8t 2 p 6 9 such that M tig (Deadlocked processes). 2. CBM= fC circuit j 9p 2 P rocBM\ C g 3. PBM= f p 2 P P 0 j 9C 2 CBM such that p 2 C g= (P P 0 )\ CBM . 4. TBM= T\ CBM . 5. RBM= f r 2 PR j 9t 2 TBM such that r 2 t _ r 2 t g. 6. NBM= (PBM RBM; TBM ). 7. MBM= M jPBM 8. PNBM= (P P 0 ) n PBM . t u

Let M 2 R(N; M0 ) a reachable marking such that the system is deadlocked. Then 9S insu ciently marked siphon. Proof: This result is a corollary from proposition 2.6 u t W S P SR.

Liveness Analysis for WS3PSR Models. Proposition 2.20 Let hN; M0i be a marked 3

1. P rocBM is the set of marked places with output transitions not enabled for every marking reachable from M . 2. CBM is the set of circuits that have places that belong to P rocBM for marking M . 3. PBM is the set of places that belong to circuits described in item 2 for marking M . 4. TBM is the set of transitions that belong to circuits described in item 2 for marking M . 5. RBM is the set of resources used by the places described in item 3 for marking M .

上一页第4页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email