12.01.2015 Views

Download - Academy Publisher

Download - Academy Publisher

Download - Academy Publisher

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

(2) In a process (tokens from outside flow into p<br />

i<br />

, pass<br />

N0<br />

and then flow out from p o<br />

), the number of tokens<br />

flowing into pi<br />

is equal to the number of tokens flowing<br />

out from p<br />

o<br />

.<br />

Definition 3.2 p-subnet reduction operation: a reduced<br />

net N ' = ( P',<br />

T '; F',<br />

W ')<br />

is obtained from original Petri<br />

net N = ( P,<br />

T;<br />

F,<br />

W ) by using ~ p to replace a p-<br />

subnet N<br />

p<br />

= ( Pp<br />

, Tp;<br />

Fp,<br />

Wp)<br />

, where<br />

(1) P' = P ∪{ ~ p}<br />

− Pp<br />

,<br />

(2) T ' = T − Tp<br />

,<br />

(3) ~ ) |<br />

•<br />

} {( ~ •<br />

F ' F ∪{(<br />

t,<br />

p t ∈ P ∪ p,<br />

t) | t ∈P<br />

}<br />

=<br />

i<br />

o<br />

•<br />

o<br />

} − Fp<br />

( , M<br />

0<br />

•<br />

−{( t,<br />

pi<br />

) | t∈<br />

pi}<br />

−{(<br />

po,<br />

t)<br />

| t ∈ p .<br />

Definition 3.3 ( N ', M<br />

0'<br />

) obtained from N ) by<br />

p-subnet reduction operation comprises net N'<br />

and<br />

marking M where<br />

'<br />

0<br />

⎪⎧<br />

[ M<br />

M<br />

0'<br />

= ⎨<br />

⎪⎩<br />

[ M<br />

M<br />

(<br />

( P \ Pp<br />

)<br />

( P \ Pp<br />

)0<br />

( P \ Pp<br />

)0<br />

,0]<br />

, n]<br />

M ( p ) = 0<br />

0<br />

M ( p ) = n<br />

0<br />

i<br />

i<br />

( n ≥ 1)<br />

is obtained from M by deleted the vector<br />

corresponding to P<br />

p<br />

).<br />

Definition 3.4 A net ( N , M p po)<br />

is said to be a closed<br />

p-subnet if adding a transition set<br />

~•<br />

T = { t | t corresponding to t ∈ p } and arc set<br />

tp<br />

p<br />

p<br />

{( po,<br />

t<br />

p),(<br />

t<br />

p,<br />

pi<br />

) | t ∈Ttp}<br />

to ( N<br />

p,<br />

M p 0)<br />

, and<br />

preserving the marking of ( N<br />

p,<br />

M p 0)<br />

.<br />

Note that in this section, let<br />

( N ', M<br />

0<br />

') : the original net; N<br />

p<br />

= ( Pp<br />

, Tp;<br />

Fp,<br />

Wp)<br />

:<br />

the p-subnet ; N , ) : the p-subnet system;<br />

(<br />

p<br />

M p 0<br />

( N<br />

P<br />

, M P 0<br />

) : the closed p-subnet system; ( N , M<br />

0<br />

) :<br />

the reduced net.<br />

Theorem 3.1 Suppose that N , M ) is obtained from<br />

(<br />

0<br />

(<br />

0<br />

N ', M ')<br />

by p-subnet reduction operation. Then<br />

( N ', M<br />

0'<br />

) is bounded iff ( N,<br />

M<br />

0)<br />

and ( N , M p p0)<br />

are bounded.<br />

Proof. (1) Since N,<br />

M ) is bound, then ∀ p ∈ P ,<br />

(<br />

0<br />

∃k > 0 1 , such that M ( p)<br />

≤ k1<br />

, ∀ M ∈ R( M<br />

0)<br />

.<br />

Obviously, ∀ p ∈ P −{p<br />

~ } , M<br />

( P \ ~ p<br />

( p)<br />

≤ k<br />

) 1<br />

。 Since<br />

( N , M p p0)<br />

is bound, then ∀ p ∈ P<br />

, ∃k > 2<br />

0 , such<br />

that M P<br />

( p)<br />

≤ k2<br />

, ∀ M<br />

P<br />

∈ R( M P 0)<br />

. Let k = k 1<br />

+ k2<br />

,<br />

by Supposition 3.1, ∀ p ∈ P'<br />

,<br />

M' ( p)<br />

= [ MP<br />

\ ~ p,<br />

MP](<br />

p)<br />

≤ k , ∀ M ' ∈ R(<br />

M<br />

0'<br />

) , so<br />

( N',<br />

M<br />

0')<br />

is bound.<br />

(2) Suppose that ( N,<br />

M<br />

0)<br />

is unbound,<br />

then ∃ p ∈ P , ∀k > 0 , ∃ M ∈ R( M<br />

0)<br />

and M ( p)<br />

> k .<br />

By Supposition 3.1 and Definition 3.1-3.4,<br />

∀k > 0 , ∃M ' ∈ R(<br />

M<br />

0'<br />

) and M '(<br />

p)<br />

> k . This<br />

contradicts with the fact that ( N ', M<br />

0'<br />

) is bounded.<br />

Theorem 3.2 Suppose that N , M ) is obtained from<br />

(<br />

0<br />

(<br />

0<br />

N ', M ')<br />

by p-subnet reduction operation. If<br />

( N ', M<br />

0'<br />

) is live and p i<br />

∈{ p|(<br />

p∈P')<br />

∧(<br />

M0 '( p)<br />

> 0)}<br />

,<br />

then ( N , M<br />

0)<br />

and ( N , M p p0)<br />

are live.<br />

Theorem 3.3 Suppose that N , M ) is obtained from<br />

(<br />

0<br />

(<br />

0<br />

N ', M ')<br />

by p-subnet reduction operation. If<br />

( N , M<br />

0<br />

) and ( N , M p p0)<br />

are live, then ( N ', M ' 0<br />

) is<br />

live.<br />

Ⅳ. THE SECOND REDCTION METHOD<br />

In this section we present the second reduction<br />

operation. This operation preserves boundedness and<br />

liveness.<br />

Definition 4.1 A net N<br />

0<br />

= ( P0<br />

, T0<br />

; F0<br />

, W0<br />

) is said to<br />

be a t-subnet of N = ( P,<br />

T;<br />

F,<br />

W ) iff,<br />

(1) • P0 ∪ P<br />

•<br />

0<br />

⊆ T0<br />

,<br />

(2) N<br />

0<br />

is connected, { ti,<br />

to}<br />

⊆ T0<br />

and t<br />

i<br />

is the only<br />

input transition of N<br />

0<br />

, t o<br />

is the only output transition of<br />

N<br />

0<br />

.<br />

Supposition 4.1 A t-subnet system ( N<br />

0,<br />

M<br />

t 0)<br />

contains<br />

t-subnet N<br />

0<br />

and initial marking M<br />

t 0<br />

, satisfy<br />

(1) In a process (tokens from outside flow into t i<br />

, pass<br />

N<br />

0<br />

and then flow out from t o<br />

), t<br />

o<br />

is fired, iff t i<br />

is<br />

fired.<br />

(2)Before t<br />

i<br />

is fired and after t<br />

o<br />

is fired,<br />

∀ t ∈T0 −{<br />

t i<br />

, to}<br />

, t can not be enabled.<br />

(3) If P<br />

0<br />

dose not contain token in initial state, P<br />

0<br />

dose<br />

not contain token after a process; If P<br />

0<br />

contains token(s)<br />

in initial state, the token(s) will come back to the initial<br />

state after a process.<br />

Definition 4.2 t-subnet reduction operation: a reduced<br />

net N ' = ( P',<br />

T';<br />

F',<br />

W ')<br />

is obtained from original Petri<br />

net N = ( P,<br />

T;<br />

F,<br />

W ) by using ~ t to replace a t-subnet<br />

N<br />

t<br />

= ( Pt<br />

, Tt<br />

; Ft<br />

, Wt<br />

) , where<br />

(1) P' = P − Pt<br />

;<br />

251

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!