文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 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

That means that there are not enough tokens in place p for enabling transition t. De nition 2.4 Let hN; M0i be a marked generalized Petri net and M be a reachable marking. Let PI be a set of places of the net. Let TI be a set of places of the net. The set PI is insu ciently marked with respect to the set of transitions TI, and the marking M, if and only if 8t 2 TI 9p 2 PI such that p is insu ciently marked with respect to the transition t for the marking M . t u Previous de nition states that places in PI do not enable transitions in TI . De nition 2.5 Let hN; M0i be a marked generalized Petri net and M a reachable marking. Let S be a structural siphon in a generalized Petri net. The siphon S is insu ciently marked for to the marking M if the set of places S is an insu ciently marked set with respect to the set of transitions S (transitions that put tokens in the siphon) and the marking M . u t That is, there can be some tokens in the siphon (M (S ) 0), but there are not enough tokens to re none of the input transitions of the siphon, no matter how many tokens are there`out of the siphon' waiting to enter in it. Proposition 2.6 Let hN; M0i be a marked generalized Petri net. Let M 2 R(N; M0 ) be a reachable marking such that the net is deadlocked. Then 9S structural siphon insu ciently marked for marking M. Proof: Let P be the set of all places of the net. P is one insu ciently marked siphon. Suppose that there is a transition that has got an input transition that has no previous places in P (that means that this transition does not have any input place). This transition is allways enabled, and so the net is not deadlocked. If P is not insu ciently marked that means that exists an output transition that is enabled, and this is a contradicion with the hypothesis that the net is deadlocked. t u This proposition states that the set of places of a deadlocked Petri net de nes an insu ciently marked siphon. Proposition 2.7 Let hN; M0i be a marked ordinary Petri net. Let M 2 R(N; M0 ) be a reachable marking and S

a siphon such that M (S )= 0 . Then 8M 0 2 R(N; M ); M 0 (S )= 0 Proof: This proposition follows from de ntion 2.1. t u

T11_0

T12_0

T2_4

P11_1

P12_1

R1 R3

P2_4

T11_1 P1_0

T12_1

T2_3

R2 P11_2 P12_2 R3 R5 T11_2 T12_2 T2_2 P2_3

P2_0

P11_3

P12_3

P2_2 R4 T2_1

R4 T11_3 T12_3

P12_4

P2_1

T12_4

T2_0

Figure 1: Two Simple Sequential Processes with Several Resources marking and S a siphon such that S is insu ciently marked. Then 8M 0 2 R(N; M ); S remains insu ciently marked. Proof: It follows from previous de nitions and propositions. t u

We are going to characterize in this section the Petri net subclass we will obtain modeling concurrent processes sharing resources. The de nition of the class of models studied is made in a constructive way similar to the one made in 2]. is an ordinary Petri net N= hP 1. P 6=;; p0 2 P= 2. N is a strongly connected state machine. 3. All the circuits in N contain the place p0 . t u

The Class of Models W S 3P SR

De nition 2.9 A Simple Sequential0 Process, fp g; T; F i

where:

S2P,

Proposition 2.8 Let hN; M0i be a marked generalized Petri net. Let M 2 R(N; M0 ) a reachable

The state represented by the special place p0 is called idle state place. Next, Simple Sequential Processes with Several Resources S 2 P SR are de ned as S 2 P that use resources in every state that is not the idle one. There are two main di erences with the S 2 P SR. First, a place can represent the use of various resources simultaneously. Second, there is no need of releasing resources used in the present state before advancing to the next state. That is, the tokens can be released in the ring of posterior transitions instead of the obligation of releasing them to go to the next state.

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

上一页第2页

你可能喜欢

热门文档

相关文档

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