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.

66 Moez Krichen<br />

The two authors also argue a more general problem, similar to the problem<br />

of check<strong>in</strong>g the existence of an ADS for some given mach<strong>in</strong>e. It consists of identify<strong>in</strong>g<br />

the <strong>in</strong>itial state of a given mach<strong>in</strong>e with the extra assumption that this<br />

<strong>in</strong>itial state belongs to a subset of the set of states. It is shown that this problem<br />

is harder than the <strong>in</strong>itial problem of check<strong>in</strong>g the existence of an ADS as stated<br />

by the follow<strong>in</strong>g.<br />

Theorem 2.25. ([LY94]) Given an FSM M and a set of possible <strong>in</strong>itial states<br />

Q, It is PSPACE-complete to tell whether there is an (adaptive) experiment that<br />

identifies the <strong>in</strong>itial state of M .<br />

2.5 Summary<br />

In this chapter, we addressed the state identification problem for Mealy mach<strong>in</strong>es.<br />

It consists <strong>in</strong> check<strong>in</strong>g whether it is possible to determ<strong>in</strong>e the <strong>in</strong>itial state<br />

of a given Mealy mach<strong>in</strong>e by apply<strong>in</strong>g <strong>in</strong>puts on it and observ<strong>in</strong>g the correspond<strong>in</strong>g<br />

outputs. A solution of this problem is called a dist<strong>in</strong>guish<strong>in</strong>g sequence.<br />

Not all Mealy mach<strong>in</strong>es have dist<strong>in</strong>guish<strong>in</strong>g sequences. In particular, nonm<strong>in</strong>imal<br />

mach<strong>in</strong>es have no dist<strong>in</strong>guish<strong>in</strong>g sequences, s<strong>in</strong>ce there is no way for<br />

dist<strong>in</strong>guish<strong>in</strong>g their equivalent states. In this chapter, we have only considered<br />

Mealy mach<strong>in</strong>es which are m<strong>in</strong>imal, determ<strong>in</strong>istic and fully specified.<br />

Dist<strong>in</strong>guish<strong>in</strong>g sequences can be either preset or adaptive. A PDS is a sequence<br />

of <strong>in</strong>puts whereas an ADS is a decision tree where <strong>in</strong>puts may be different<br />

depend<strong>in</strong>g on the observed outputs dur<strong>in</strong>g the experiment. If a mach<strong>in</strong>e has a<br />

PDSthenithasanADS(becauseaPDSisanADS),however,theconverseis<br />

not true.<br />

Ma<strong>in</strong> results about PDSs: it is PSPACE-complete to test whether a given FSM<br />

has a PDS. In [LY94], Lee and Yannakakis show that this rema<strong>in</strong>s true even for<br />

Mealy mach<strong>in</strong>es with b<strong>in</strong>ary <strong>in</strong>put and output alphabets. Check<strong>in</strong>g the existence<br />

of a PDS can be reduced to a reachability analysis <strong>in</strong> the super graph of the<br />

considered mach<strong>in</strong>e. The size of this graph is exponential with respect to the<br />

number of states of the correspond<strong>in</strong>g mach<strong>in</strong>e. It is possible to compute a<br />

shortest PDS of a given mach<strong>in</strong>e by perform<strong>in</strong>g a breadth-first search throughout<br />

the super graph of the mach<strong>in</strong>e. In [LY94], Lee and Yannakakis also show that<br />

there are mach<strong>in</strong>es for which the shortest PDS has exponential length.<br />

Ma<strong>in</strong> results about ADSs: it can be checked whether a given Mealy mach<strong>in</strong>e has<br />

anADS<strong>in</strong>timeO(pn 2 ), where n and p are the number of states and <strong>in</strong>puts<br />

of the considered mach<strong>in</strong>e, respectively. This can be done by execut<strong>in</strong>g an algorithm<br />

similar to the classical m<strong>in</strong>imization algorithm. O(pn 2 ) can be reduced to<br />

O(pnlogn) by execut<strong>in</strong>g an algorithm <strong>in</strong>spired by Hopcroft’s m<strong>in</strong>imization algorithm<br />

[Hop71]. For comput<strong>in</strong>g “optimal” ADSs, <strong>in</strong> [LY94], Lee and Yannakakis<br />

def<strong>in</strong>e the so-called splitt<strong>in</strong>g tree. The latter provides for some subset of states<br />

an <strong>in</strong>put sequence which allows to reduce the uncerta<strong>in</strong>ty about this subset. A

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

Saved successfully!

Ooh no, something went wrong!