10.01.2013 Views

ComputerAided_Design_Engineering_amp_Manufactur.pdf

ComputerAided_Design_Engineering_amp_Manufactur.pdf

ComputerAided_Design_Engineering_amp_Manufactur.pdf

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.

Theorem 10: If pi → pk in a synthesized net, then � M1 and M2 such that M1( pi) � 0,<br />

M1( pk) � 0,<br />

M2( pk) � 0,<br />

M2( pi) � 0,<br />

and<br />

The arc-ratio rules are summarized as follows.<br />

Arc-Ratio Rules:<br />

Given an NP connecting from node g to node j,<br />

M1( pi) m<br />

---------------- � [ Rik]�. M2( pk) (ARR.1) If � paths in N1 between g and j, then<br />

(ARR.1.a) The weight in NP must be such that � q .<br />

(ARR.1.b) If g is a place, and some output transitions of g do not have a common output place, then<br />

all (except one with arbitrary input ratio) paths between g and j must have input ratio of one.<br />

(ARR.1.c) Same as Rule TT.2, except that the statement in Rule TT.2 should be replaced with “If,<br />

f<br />

without firing tj , there does not exist a � to enable tg( Rjg) times, insert enough tokens<br />

in to enable times.”<br />

l<br />

� w<br />

f<br />

tj( Rjg) u<br />

Possible sets of {g, j, q} are {transition, transition,<br />

place, R }, and {place, transition, }.<br />

}, {transition, place, }, {place,<br />

(ARR.2) Otherwise, there must be another accompanying NP (Rule TT.3) from g�to j� such that<br />

the NP from g, via j and g�, to j� satisfies ARR.1.a.<br />

m<br />

R mf<br />

Ex<strong>amp</strong>le: Figure 8.18 shows a PN with two originally disconnected subnets, entity 1 and entity 2. A<br />

TT-path connects from t1 to t�2 . To synchronize entity 1 and entity 2, another TT-path (Rule ARR.2) is<br />

f<br />

f 2<br />

generated from t3� to t4. Note that R14 � [ R( 14)�]<br />

� -- where subscript (14)� indicates the path from<br />

1<br />

t1 to t4 ( t1p 6 t� 2 p�3 t�3 p7 t4 ) (Rule ARR.1.a).<br />

Figure 8.19 shows that a � [ ] is generated using the TT rule from of to of<br />

and their synchronic distance . We generate another ( ) such that d ,<br />

) � 1. � 2/8 for the path from to , indicating that<br />

gets 4 tokens for every firing of . Thus we connect an arc, from to , with weight 1/<br />

(�4) by Rules TT.4.1 and ARR.1.a. � 4/4 along the only path from to : (<br />

). Thus we connect an arc with weight (� 1), from to , by Rule ARR.1.a.<br />

In Figure 8.19, is generated using the PP rule from of to of . ,<br />

� 4/4 along the only path from to , . � 2/1. We connect a VP<br />

with weight 2 from to (Rules PP.2.2 and ARR.1.a). Based on Rule PP.2.1, we connect a TP-Path<br />

from to with weight 2, since � 1�2.<br />

For GPNs, the synchronic distance between any two transitions is no longer 1 or � as the synthesized<br />

OPNs. Since synchronic distance depends on the marking, the determination of synchronic distance<br />

between all pairs of transitions may take exponential time complexity. Therefore, it is better that we<br />

compute them during the synthesis process.<br />

w t2p 6t3� t2 �1 t� 3 �2.t 2 � t3� d23� � �<br />

� w t�4 p7t 4 ( { �1, �3} fm<br />

{ �2, �4} R56 t5 p6 ( t5 p5 t6 p4 t4 p1 t1 p2 t2 p6), fm<br />

p6 t5 t5 p6 [ R56 ]�<br />

mf<br />

R66� p6 t� 6 p6t� 3 p�4 t� 4 p� 1<br />

mf<br />

t� 1 p� 2 t� 5 p�5 t� 6 [ R66�] p6 t�6 � w ( p2 tg p6 tj p2� ) p2 �1 p� 2 �2 p2 p2� m<br />

mf<br />

R22� p2 p� 2 ( p2 t2 p3 t3 p4 p1 t1� p2� ) R2g p5 tg fm<br />

tj p� 5 Rj5� Updating of Structure Synchronic Distance<br />

The steps for updating the structure synchronic distance, d , is as follows:<br />

1. For each basic process generation, the between it and any other PSP is �.<br />

2. For each new generation, the between any two is one.<br />

s<br />

d s<br />

d s<br />

q NP<br />

� w<br />

lit gj<br />

R f<br />

R fm

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

Saved successfully!

Ooh no, something went wrong!