08.01.2013 Views

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Communicating Distributed H Systems with Alternating Filters 369<br />

set <strong>of</strong> instructions <strong>of</strong> machine M. Each instruction is represented in the following<br />

way: qiakDalqj. The meaning is the following: if the head <strong>of</strong> machine M being<br />

in state qi is scanning a cell which contains ak then the contents <strong>of</strong> the scanned<br />

cell is replaced by al, the head moves to the left (if D = L) ortotheright(if<br />

D = R) and its state changes to qj.<br />

By a configuration <strong>of</strong> a Turing machine we shall understand the string w1qw2,<br />

where w1,w2 ∈ T ∗ (w2 �∈ ε) andq ∈ Q. A configuration represents the contents<br />

<strong>of</strong> non-empty cells <strong>of</strong> the working tape <strong>of</strong> the machine (i.e., all other cells to the<br />

left and to the right are blank), its state and the position <strong>of</strong> the head on the<br />

tape.Themachineheadisassumedtoreadtheleftmostletter<strong>of</strong>w2. Initially<br />

all cells on the tape are blank except finitely many cells.<br />

2.2 The Splicing Operation<br />

An (abstract) molecule is simply a word over some alphabet. A splicing rule (over<br />

alphabet V ), is a quadruple (u1,u2,u ′ 1,u ′ 2)<strong>of</strong>wordsu1,u2,u ′ 1,u ′ 2 ∈ V ∗ ,whichis<br />

<strong>of</strong>ten written in a two dimensional way as follows: u1 u2<br />

u ′ 1 u′ 2<br />

. We shall denote the<br />

empty word by ε.<br />

A splicing rule r =(u1,u2,u ′ 1,u ′ 2) is said to be applicable to two molecules<br />

m1,m2 if there are words w1,w2,w ′ 1,w ′ 2 ∈ V ∗ with m1 = w1u1u2w2 and<br />

m2 = w ′ 1u′ 1u′ 2w′ 2 , and produces two new molecules m′ 1 = w1u1u ′ 2w′ 2 and<br />

m ′ 2 = w ′ 1u ′ 1u2w2. In this case, we also write (m1,m2) ⊢r (m ′ 1,m ′ 2).<br />

Apairh =(V,R), where V is an alphabet and R is a finite set <strong>of</strong> splicing<br />

rules, is called a splicing scheme or an H scheme.<br />

For an H scheme h =(V,R) and a language L ⊆ V ∗ we define:<br />

σh(L) def<br />

= {w, w ′ ∈ V ∗ | (w1,w2) ⊢r (w, w ′ )forsomew1,w2 ∈ L, r ∈ R},<br />

σ 0 h(L) =L,<br />

σ i+1<br />

h (L) =σi h (L) ∪ σh(σ i h (L)), i ≥ 0,<br />

σ ∗ h(L) =∪i≥0σ i h(L).<br />

A Head splicing system [5,6], or H system, is a construct H = (h, A) =<br />

((V,R),A) <strong>of</strong> an alphabet V ,asetA ⊆ V ∗ <strong>of</strong> initial molecules over V ,the<br />

axioms, andasetR ⊆ V ∗ × V ∗ × V ∗ × V ∗ <strong>of</strong> splicing rules. H is called finite if<br />

A and R are finite sets.<br />

The language generated by H system H is:<br />

L(H) def<br />

= σ ∗ h (A).<br />

Thus, the language generated by H system H is the set <strong>of</strong> all molecules that<br />

can be generated in H starting with A as initial molecules by iteratively applying<br />

splicing rules to copies <strong>of</strong> the molecules already generated.

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

Saved successfully!

Ooh no, something went wrong!