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.

104 Angelo Gargant<strong>in</strong>i<br />

x1 τ(t1, s2) x2 τ(t2, s3) x3 τ(t3, s1) x1<br />

<strong>in</strong>put sequence ab a b ab ab<br />

s3<br />

b<br />

0 1<br />

a<br />

0 1<br />

Fig. 4.4. Adaptive dist<strong>in</strong>guish<strong>in</strong>g sequence of mach<strong>in</strong>e <strong>in</strong> Fig. 4.1<br />

Length and Cost An adaptive dist<strong>in</strong>guish<strong>in</strong>g sequence has length O(n 2 ), and<br />

a transfer sequence cannot be longer than n . The sequence (4.1) is long O(n 3 ).<br />

Because there are pn transitions, and every sequence (4.2) has length O(n 2 ),<br />

the cost is aga<strong>in</strong> O(pn 3 ) to f<strong>in</strong>d the complete check<strong>in</strong>g sequence. Therefore, all<br />

the methods presented <strong>in</strong> Section 4.4 and <strong>in</strong> this section, have the same cost.<br />

The advance of the method presented <strong>in</strong> this section, is that it does not need a<br />

reset message. A comparison among methods from a practical po<strong>in</strong>t of view is<br />

presented <strong>in</strong> Section 4.8.<br />

M<strong>in</strong>imiz<strong>in</strong>g the Sequence Length Note that there exist several techniques<br />

to shorten the length of the check<strong>in</strong>g sequence obta<strong>in</strong>ed by apply<strong>in</strong>g the dist<strong>in</strong>guish<strong>in</strong>g<br />

sequence method [UWZ97], but still result<strong>in</strong>g check<strong>in</strong>g sequences have<br />

length O(pn 3 ). The problem of f<strong>in</strong>d<strong>in</strong>g the shortest transition tour cover<strong>in</strong>g all<br />

the transitions and then apply<strong>in</strong>g an extra sequence, that is a UIO or a DS<br />

sequence <strong>in</strong> this case, to their end state is called the Rural Ch<strong>in</strong>ese Postman<br />

Problem [ADLU91].<br />

4.6 Us<strong>in</strong>g Identify<strong>in</strong>g Sequences Instead of Dist<strong>in</strong>guish<strong>in</strong>g<br />

Sequences<br />

Not every f<strong>in</strong>ite state mach<strong>in</strong>e has dist<strong>in</strong>guish<strong>in</strong>g sequences (as shown <strong>in</strong> Section<br />

2.1). In case the mach<strong>in</strong>e has no reset message, no status message, no UIO<br />

sequences, and no dist<strong>in</strong>guish<strong>in</strong>g sequences, we cannot apply the methods proposed<br />

so far. We can still use the Assumption 1 and exploit the existence of<br />

separat<strong>in</strong>g sequences, that can dist<strong>in</strong>guish a state from any other state <strong>in</strong> MS .<br />

In this case, conformance test<strong>in</strong>g is still possible [Hen64], although the result<strong>in</strong>g<br />

check<strong>in</strong>g sequences may be exponentially long.<br />

s1<br />

s2

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

Saved successfully!

Ooh no, something went wrong!