07.01.2013 Views

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

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.

170 Valéry Tschaen<br />

Concern<strong>in</strong>g the refusal graph of Fig. 6.10:<br />

•⌈Ref (g0)⌉ = ⌊Ref (g0)⌋ = {{a}, {c}}<br />

•⌈Ref (g1)⌉ = ⌈Ref (g2)⌉ = ⌈Ref (g3)⌉ = {{a, b, c}}<br />

And thus:<br />

•⌈Ref ′ (g0)⌉ = {{b}, {a, c}}<br />

•⌈Ref ′ (g1)⌉ = ⌈Ref ′ (g2)⌉ = ⌈Ref ′ (g3)⌉ = {{a, b, c}}<br />

Then, Tg(G) is given <strong>in</strong> Fig. 6.11.<br />

g1<br />

{{}}<br />

a<br />

g0 {{b}, {a, c}}<br />

b<br />

g2<br />

{{}}<br />

c<br />

q3<br />

{{}}<br />

Fig. 6.11. Tg(G)<br />

Roughly speak<strong>in</strong>g, the value of ⌊Ref ′ (g0)⌋ means that a canonical tester has<br />

to enable whether the event b or the events a and c to a conformant implementation<br />

to avoid block<strong>in</strong>g.<br />

From RG to LTS Once the refusal graph has been transformed, it rema<strong>in</strong>s to<br />

construct its correspond<strong>in</strong>g LTS.<br />

Def<strong>in</strong>ition 6.4.5 (LTS associated to a RG) From a refusal graph g0, the<br />

LTS lts(g0) may be derived accord<strong>in</strong>g to the follow<strong>in</strong>g recursive def<strong>in</strong>ition :<br />

lts(g) =<br />

�<br />

[] τ; [] a; lts(g after a)<br />

E∈⌊Ref (g)⌋ a∈<strong>in</strong>it(g) \ E<br />

⎛<br />

[] ⎝ []<br />

b∈ �<br />

E∈⌊Ref (g)⌋ E<br />

⎞<br />

b; lts(g after b) ⎠<br />

For any LTS specification S, it has been shown that T (S) =lts(Tg(rg(S)))<br />

is a canonical tester for S [DAV93].<br />

Consider aga<strong>in</strong> the specification shown <strong>in</strong> Fig. 6.7, the canonical tester obta<strong>in</strong>ed<br />

from the LTS specification given <strong>in</strong> Fig. 6.7 is shown <strong>in</strong> Fig. 6.12. This<br />

canonical tester has less states and transitions than the canonical testers obta<strong>in</strong>ed<br />

with the two previous methods.<br />

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

Saved successfully!

Ooh no, something went wrong!