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.

s0<br />

c = ∞<br />

8 Test Derivation from Timed Automata 215<br />

on?, c = ∞,<br />

c := 0<br />

off !, c =5,<br />

c := ∞<br />

s1<br />

c � 5<br />

Fig. 8.6. TIOA specification for a Light Switch [SVD01]<br />

• ∀ 0≤d ′ ≤d : ν⊕d ′ |=Inv(s)<br />

(s,ν) d<br />

↣ (s,ν⊕d)<br />

where the actions <strong>in</strong> R >0 are referred to as time delays and<br />

(ν ⊕ d)(c) def<br />

�<br />

ν(c)+d if (ν(c)+d) ∈ <strong>in</strong>tv(c)<br />

=<br />

∞ otherwise<br />

on?, c < 5,<br />

c := 0<br />

The follow<strong>in</strong>g lemma, which is a direct corollary of the def<strong>in</strong>itions, gives four<br />

basic properties of the operational semantics of a timed I/O automaton.<br />

Lemma 8.19. Let A be a TIOA, then<br />

• OS(A ) is determ<strong>in</strong>istic<br />

• OS(A ) possesses Wang’s time additivity property:<br />

q d+d′<br />

↣ q ′ iff ∃ q ′′ : q d<br />

↣ q ′′ d′<br />

′′ ∧ q ↣ q ′<br />

• Each state of OS(A ) has either<br />

– a s<strong>in</strong>gle outgo<strong>in</strong>g transition labeled with<br />

✑<br />

an output action, or<br />

✑✑✸ o!<br />

✉<br />

– both outgo<strong>in</strong>g delay transitions and outgo<strong>in</strong>g<br />

✑<br />

<strong>in</strong>put transitions (one for each <strong>in</strong>put action),<br />

but no outgo<strong>in</strong>g output transitions<br />

✑✑✸ d<br />

✉<br />

i1? �❅<br />

<strong>in</strong>?<br />

�✠ ··· ❅❘<br />

States of the second type are called stable<br />

• For each state q ∈ QOS(A ), there exists a unique f<strong>in</strong>ite sequence of output<br />

actions σ and a unique stable state q ′ such that q σ<br />

↣ q ′ .<br />

8.4.2 Discretization<br />

The construction of a f<strong>in</strong>ite subautomaton used, for the discretization of the<br />

state space, is based on the fundamental concept of a region due to Alur and

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

Saved successfully!

Ooh no, something went wrong!