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.

fu1 =(s1, s2), (s3, s5), (s4, s5), (s5, s6), (s6, s1)<br />

fu2 = (s1, s2), (s2, s3), (s5, s1)<br />

fu3 = (s2, s5), (s4, s1), (s6, s2)<br />

fu5 = (s3, s1), (s5, s2)<br />

fu7 = (s2, s2), (s4, s1)<br />

2 State Identification 61<br />

Table 2.4. The mapp<strong>in</strong>gs fu of the splitt<strong>in</strong>g tree of mach<strong>in</strong>e M6 (Fig. 2.14).<br />

• u(B) is the leaf of ST with set-label B.<br />

• u ·set and u ·str<strong>in</strong>g are the set and str<strong>in</strong>g-labels of the node u, respectively.<br />

• append(ST, u, B ′ , a) isST towhichweappendanewnodev from u such<br />

that the set-label of v is B ′ and the edge from u to v is labeled by <strong>in</strong>put<br />

symbol a.<br />

• λ(s ∈ B ′ , a)= λ(s, a) for any arbitrary s <strong>in</strong> B ′ .<br />

• label(v, w) is the label of the edge of ST which is from v to w.<br />

The algorithm proceeds as follows. It starts with the one node splitt<strong>in</strong>g tree.<br />

At each iteration, it considers a block B from R the set of blocks of π with largest<br />

card<strong>in</strong>ality. B is the set-label of one of the leaves of the current splitt<strong>in</strong>g tree.<br />

Then, it looks for the shortest <strong>in</strong>put sequence that may ref<strong>in</strong>e B. Threewaysare<br />

then possible for f<strong>in</strong>d<strong>in</strong>g such an <strong>in</strong>put sequence. If B has an a-valid <strong>in</strong>put symbol<br />

(“case 1”) then the searched <strong>in</strong>put sequence is the found a-valid <strong>in</strong>put symbol. If<br />

no such leaf exists then we look for a leaf which has a b-valid <strong>in</strong>put symbol (w.r.t<br />

to π the partition of states <strong>in</strong>duced by the current splitt<strong>in</strong>g tree). If such a leaf<br />

is found (“case 2”), then we identify the node of the current splitt<strong>in</strong>g tree whose<br />

set-label conta<strong>in</strong>s δ(B, a), where a is the b-valid <strong>in</strong>put symbol. If σ is the <strong>in</strong>put<br />

str<strong>in</strong>g-label associated with this node then it is clear that B can be ref<strong>in</strong>ed by<br />

execut<strong>in</strong>g aσ. Now, if the set-label of the considered leaf has neither an a-valid<br />

nor a b-valid <strong>in</strong>put symbol then we check whether there exists a sequence of<br />

c-valid <strong>in</strong>puts for B (w.r.t π) which makes the states of B (the set-label to be<br />

ref<strong>in</strong>ed) move to another set-label C which has just been ref<strong>in</strong>ed by the execution<br />

of an <strong>in</strong>put sequence τ . If such a path σ exists (“case 3”) then it is clear that<br />

στ can ref<strong>in</strong>e the set-label B.<br />

If none of the three ways works, we conclude that the considered mach<strong>in</strong>e<br />

has no ADS. In the third case, for obta<strong>in</strong><strong>in</strong>g the shortest <strong>in</strong>put sequence which<br />

ref<strong>in</strong>es B we shall look for the shortest path σ which goes from B to some other<br />

possible set-label C . This can be done by perform<strong>in</strong>g a reachability analysis on<br />

Gπ[R] the subgraph of Gπ (the implication graph correspond<strong>in</strong>g to the partition<br />

π) <strong>in</strong>duced by R to f<strong>in</strong>d a path from B to some possible block C .<br />

For each of the three cases, the splitt<strong>in</strong>g tree is updated as follows: we assign<br />

the found <strong>in</strong>put sequence to the <strong>in</strong>put str<strong>in</strong>g-label of the considered leaf then<br />

new leaves are attached to this (old) leaf. The number of attached leaves equals<br />

the number of subsets to which B is ref<strong>in</strong>ed.<br />

Example. We apply Algorithm 7 to M6 to obta<strong>in</strong> the complete splitt<strong>in</strong>g tree<br />

shown <strong>in</strong> Fig. 2.14.

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

Saved successfully!

Ooh no, something went wrong!