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

Create successful ePaper yourself

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

1 Hom<strong>in</strong>g and Synchroniz<strong>in</strong>g Sequences 21<br />

to tell the two f<strong>in</strong>al states apart by look<strong>in</strong>g at the output. Thus the hom<strong>in</strong>g<br />

sequence is a separat<strong>in</strong>g sequence.<br />

Conversely, if every pair of states has either a merg<strong>in</strong>g or a separat<strong>in</strong>g sequence,<br />

then Algorithm 3 computes a hom<strong>in</strong>g sequence. ⊓⊔<br />

We cannot hope for this algorithm to be any faster than the one to compute<br />

synchroniz<strong>in</strong>g sequences, because they have to do the same job if there is no<br />

separat<strong>in</strong>g sequence. But it is easy to see that it can be implemented not to be<br />

worse either. By def<strong>in</strong>ition, two states have a separat<strong>in</strong>g sequence if and only if<br />

they are not equivalent (two states are equivalent if they give the same output for<br />

all <strong>in</strong>put sequences: see Section 21). Hence, we first m<strong>in</strong>imize the mach<strong>in</strong>e to f<strong>in</strong>d<br />

out which states have separat<strong>in</strong>g sequences. As long as possible, the algorithm<br />

chooses non-equivalent states on l<strong>in</strong>e 4 and only looks for a separat<strong>in</strong>g sequence.<br />

Thus, the first half of the hom<strong>in</strong>g sequence is actually a hom<strong>in</strong>g sequence for<br />

the m<strong>in</strong>imized mach<strong>in</strong>e, and can be computed by apply<strong>in</strong>g Algorithm 1 to the<br />

m<strong>in</strong>imized mach<strong>in</strong>e. The second half of the sequence is computed as described <strong>in</strong><br />

Section 1.3.2, but only select<strong>in</strong>g states from the same block of the current state<br />

uncerta<strong>in</strong>ty.<br />

1.3.4 Comput<strong>in</strong>g Adaptive Hom<strong>in</strong>g Sequences<br />

Recall that an adaptive hom<strong>in</strong>g sequence is applied to a mach<strong>in</strong>e as it is<br />

be<strong>in</strong>g computed, and that each <strong>in</strong>put symbol depends on the previous outputs.<br />

An adaptive hom<strong>in</strong>g sequence is formally def<strong>in</strong>ed as a decision tree, where each<br />

node is labeled with an <strong>in</strong>put symbol and each edge is labeled with an output<br />

symbol. The experiment consists <strong>in</strong> first apply<strong>in</strong>g the <strong>in</strong>put symbol <strong>in</strong> the root,<br />

then follow<strong>in</strong>g the edge correspond<strong>in</strong>g to the observed output, apply<strong>in</strong>g the <strong>in</strong>put<br />

symbol <strong>in</strong> the reached node and so on. When a leaf is reached, the f<strong>in</strong>al state can<br />

be uniquely determ<strong>in</strong>ed. The length of an adaptive hom<strong>in</strong>g sequence is def<strong>in</strong>ed<br />

as the depth of this tree.<br />

Us<strong>in</strong>g adaptive sequences can be an advantage because they are often shorter<br />

than preset sequences. However, it has been shown that mach<strong>in</strong>es possess<strong>in</strong>g the<br />

longest possible preset hom<strong>in</strong>g sequences (of length n(n − 1)/2) require equally<br />

long adaptive hom<strong>in</strong>g sequences [Hib61].<br />

It is easy to see that a mach<strong>in</strong>e has an adaptive hom<strong>in</strong>g sequence if and only if<br />

it has a preset one. One direction is immediate: any preset hom<strong>in</strong>g sequence corresponds<br />

to an adaptive one. For the other direction, note that by Theorem 1.17<br />

it is sufficient to show that if a mach<strong>in</strong>e has an adaptive hom<strong>in</strong>g sequence, then<br />

every pair of states has a merg<strong>in</strong>g or a separat<strong>in</strong>g sequence. Assume toward a<br />

contradiction that a mach<strong>in</strong>e has an adaptive hom<strong>in</strong>g sequence but there are two<br />

states s, t ∈ S that have neither a merg<strong>in</strong>g nor a separat<strong>in</strong>g sequence. Consider<br />

the leaf of the adaptive hom<strong>in</strong>g sequence tree that results when the <strong>in</strong>itial state<br />

is s. S<strong>in</strong>ces and t have no separat<strong>in</strong>g sequence, the same leaf would be reached<br />

also if t was the <strong>in</strong>itial state. But s<strong>in</strong>ce s and t have no merg<strong>in</strong>g sequence, there<br />

are at least two possible f<strong>in</strong>al states, contradict<strong>in</strong>g that there must be only one<br />

possible f<strong>in</strong>al state <strong>in</strong> a leaf.

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

Saved successfully!

Ooh no, something went wrong!