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.

122 Stefan D. Bruda<br />

a c<br />

b<br />

b<br />

c<br />

(a)<br />

b<br />

c<br />

c<br />

b ...<br />

Fig. 5.1. Representation of <strong>in</strong>f<strong>in</strong>ite process trees: an <strong>in</strong>f<strong>in</strong>ite tree (a), and its graph<br />

representation (b).<br />

from Figure 5.6 on page 133 (aga<strong>in</strong>, states are depicted by nodes, and the relation<br />

−→ is represented by arrows between nodes, labeled with actions). It may<br />

be the case that y is a nice, convergent state <strong>in</strong> the respective labeled transition<br />

system (i.e., y ↓B). Still, it is obviously the case that y ↑ <strong>in</strong> the derived transition<br />

system (we refer to this as “y may diverge” <strong>in</strong>stead of “y diverges,” given that y<br />

may decide at some time to perform action b and get out of the loop of <strong>in</strong>ternal<br />

actions).<br />

Aga<strong>in</strong>, we shall use <strong>in</strong> what follows natural extensions of the relation ⇒<br />

such as p a ⇒ and �⇒ . We also use by abuse of notation the same operator for<br />

the reflexive and transitive closure of ⇒ (<strong>in</strong> the same way as we did for −→ ).<br />

A transition system gives a description of the actions that can be performed<br />

by a process depend<strong>in</strong>g on the state that process is <strong>in</strong>. A process does <strong>in</strong> addition<br />

start from an <strong>in</strong>itial state. In other words, a process is fully described by a<br />

transition system and an <strong>in</strong>itial state. In most cases we f<strong>in</strong>d it convenient to<br />

fix a global transition system for all the processes under consideration. In this<br />

sett<strong>in</strong>g, a process is then uniquely def<strong>in</strong>ed by its <strong>in</strong>itial state. We shall then blur<br />

the dist<strong>in</strong>ction between a process and a state, often referr<strong>in</strong>g to “the process<br />

p ∈ Q.”<br />

F<strong>in</strong>ally, a process can be represented as a tree <strong>in</strong> a natural way: Tree nodes<br />

represent states. The root node is the <strong>in</strong>itial state. The edges of the tree will<br />

be labeled by actions, and there exists an edge between nodes p and q labeled<br />

with a iff it holds that p a<br />

−→ q <strong>in</strong> the given transition system (or that p a ⇒ q<br />

if we talk about a derived transition system). We shall not make use of this<br />

representation except when we want to represent a process (or part thereof)<br />

graphically for illustration purposes. Sometimes we f<strong>in</strong>d convenient to “abbreviate”<br />

tree representation by draw<strong>in</strong>g a graph rather than a tree when we want<br />

to represent <strong>in</strong>f<strong>in</strong>ite trees with states whose behavior repeats over and over (<strong>in</strong><br />

which case we jo<strong>in</strong> those states <strong>in</strong> a loop). The reader should keep <strong>in</strong> m<strong>in</strong>d that<br />

this is just a convenient representation, and that <strong>in</strong> fact she is <strong>in</strong> front of a f<strong>in</strong>ite<br />

representation of an <strong>in</strong>f<strong>in</strong>ite tree. As an example, Figure 5.1 shows such a graph<br />

together with a portion of the unfolded tree represented by the graph.<br />

a<br />

b<br />

(b)<br />

c

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

Saved successfully!

Ooh no, something went wrong!