&auml;&frac12;œ&auml;&cedil;š_4

# &auml;&frac12;œ&auml;&cedil;š_4 -...

This preview shows pages 1–3. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 200628017029197 1. o 2.3 0 D1R C P1 a → STOP{a, b} P2 μ X:{a, b}. a → X P3 ( a → STOP{a, b})|(b → STOP{a, b}) P4 ( a → STOP{a})||(b → STOP{b}) α P1={a,b}; trace(P1) = {<>,<a>} α P2={a,b}; trace(P2) = {<>,<a>,<a,a>,<a,b>} α P3={a,b}; trace(P3) = {<>,<a>,<b>} α P4={a,b}; trace(P4) = {<>} 2. 0 P=(y → z → P| z → P)0 Q=(y → (z → Q|d → Q)),0 P||Q P||Q = (y → z → P| z → P)||(y → (z → Q|d → Q)) = (y → z → P)||(y → (z → Q|d → Q)) = (y → (z → P))||(y → (z → Q|d → Q)) = y → ((z → P)||(z → Q|d → Q)) = y → (z → (P||Q) = y → z → (P||Q) = μX • (y → z → X) 3. |N f | N ; f C ; f C m o 1 o 4 N f= N α ACC = {open, deposit, withdraw, terminate} (1)R ACC ACC = μX :{deposit, withdraw}•(open → (deposit → X | withdraw → X) → terminate → STOP) f ( f f= N z ; o= N (2)f ( f f= N C ; o= N {query, terminate}. y QUERY α QUERY = {query, terminate} QUERY = μX :{query}•(query → X → terminate → STOP) (3) o FORBID = μX :{ terminate}•(STOP) (4)6 RO f f (f f=N y α ACC={open, deposit . n, withdraw . n, terminate} ACC =μX :{deposit . n, withdraw .n}• (open → (deposit. n → X | withdraw. n → X) → terminate → STOP) (5)R C bounce. o bounce y α ACC={open, deposit, withdraw, terminate, bounce!n} ACC=μX :{deposit , withdraw }• 1 200628017029197 (open → (deposit → X | withdraw → X) → bounce!n → terminate → STOP) n: f 1 4. o 4 N f= empty o5 C f= N 6RO f CSP ) 5 STACK ) STACK 0 left ) right5 α STACK = {empty, left, right} STACK = P< >; P< > = (empty → P< > | left ?x → P<x > ); P<x >^s = (right !x → Ps | left !y → P< y >^< x >^s ); 5. -0 (Producer-Consumer) f= N 6 RO f “- | ” f | N;f C ; f C 1 Ì`ãeb+ · C1 “ ” o P1 0 P2 l “ o ” P2 0 P1 0 f ( f f= N Ï ; “b ”pm F C1 0 C2 “ ” 5 ¶ª* C2 0...
View Full Document

{[ snackBarMessage ]}

### Page1 / 6

&auml;&frac12;œ&auml;&cedil;š_4 -...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online