25.06.2013 Views

1 transparent par page - Montefiore

1 transparent par page - Montefiore

1 transparent par page - Montefiore

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Exemple<br />

Soit le programme suivant (en notation pseudo-code) :<br />

1 x = a ; y = b<br />

2 while x = y<br />

3 if x > y<br />

4 x = x − y<br />

5 elseif x < y<br />

6 y = y − x<br />

La machine d’état (Q, Qo, δ) correspondante est définie <strong>par</strong> :<br />

◮ Q = {(x, y)|x, y ∈ Z}<br />

◮ Q0 = {(a, b)}<br />

◮ δ =<br />

(x, y) →<br />

(x − y, y) si x > y<br />

(x, y − x) si x < y<br />

91

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

Saved successfully!

Ooh no, something went wrong!