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 9<br />

versions of the hom<strong>in</strong>g and synchroniz<strong>in</strong>g sequences problems: first an algorithm<br />

to compute hom<strong>in</strong>g sequences for m<strong>in</strong>imized Mealy mach<strong>in</strong>es (Section 1.3.1),<br />

then an algorithm to compute synchroniz<strong>in</strong>g sequences (Section 1.3.2). Section<br />

1.3.3 unifies these algorithms <strong>in</strong>to one for comput<strong>in</strong>g hom<strong>in</strong>g sequences<br />

for general (not necessarily m<strong>in</strong>imized) mach<strong>in</strong>es – this algorithm can be used<br />

both to compute hom<strong>in</strong>g and synchroniz<strong>in</strong>g sequences. The two algorithms for<br />

comput<strong>in</strong>g hom<strong>in</strong>g sequences are then modified to compute adaptive hom<strong>in</strong>g<br />

sequences <strong>in</strong> Section 1.3.4. F<strong>in</strong>ally, Section 1.3.5 gives exponential algorithms to<br />

compute m<strong>in</strong>imal length hom<strong>in</strong>g and synchroniz<strong>in</strong>g sequences.<br />

Section 1.4 turns from algorithms to complexity. First, Section 1.4.1 shows<br />

that it is NP-hard to f<strong>in</strong>d the shortest hom<strong>in</strong>g or synchroniz<strong>in</strong>g sequence. Second,<br />

Section 1.4.2 shows that it is PSPACE-complete to determ<strong>in</strong>e if a mach<strong>in</strong>e has<br />

a hom<strong>in</strong>g or synchroniz<strong>in</strong>g sequence, if it is known that the <strong>in</strong>itial state is <strong>in</strong> a<br />

particular subset Q ⊆ S. In both cases it means that polynomial algorithms for<br />

the problems are unlikely to exist.<br />

Section 1.5 gives an overview of research <strong>in</strong> the area and mentions some related<br />

areas, and Section 1.6 summarizes the most important ideas <strong>in</strong> the chapter.<br />

Flogsta Ekeby<br />

H˚aga Eriksberg K˚abo<br />

Fig. 1.3. The subway map of Uppsala. The five stations are connected by two one-way<br />

l<strong>in</strong>es: white and grey.<br />

Exercise 1.1. The schematic map of the subway <strong>in</strong> Uppsala looks as <strong>in</strong> Figure 1.3.<br />

You do not know at which station you are, and there are no signs or other<br />

characteristics that reveal the current station, but you have to get to Flogsta<br />

by mov<strong>in</strong>g from station to station, <strong>in</strong> each step tak<strong>in</strong>g either the white or the<br />

grey l<strong>in</strong>e. What type of sequence does this correspond to? F<strong>in</strong>d a sequence if one<br />

exists.<br />

(H<strong>in</strong>t: use that if you are <strong>in</strong> Flogsta or H˚aga, the white l<strong>in</strong>e takes you to Eriksberg<br />

for sure.)<br />

1.2 Initial and Current State Uncerta<strong>in</strong>ty<br />

Consider a Mealy mach<strong>in</strong>e to which we apply some <strong>in</strong>put str<strong>in</strong>g and receive an<br />

output str<strong>in</strong>g. Even if the <strong>in</strong>put str<strong>in</strong>g was not hom<strong>in</strong>g, we may still draw some

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

Saved successfully!

Ooh no, something went wrong!