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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Transducers with Programmable Input by DNA Self-assembly 231<br />

Check for n −tuple<br />

input with<br />

2n+1 states<br />

α 1<br />

λ 0 λ α<br />

Fig. 7. The transducer T n add(0) that increases the input from n-tuple x to (n+1)tuple<br />

(x, 0).<br />

(i1, 0) ↦→ (ν, s0) where i0,i1 are new states and s0 is the starting state for<br />

Id(x, 0). With this, our entry is in the desired form <strong>of</strong> (y, x, 0) = (t +1| x, 0).<br />

Execution <strong>of</strong> the recursion. Each transducer T that is used for computation<br />

<strong>of</strong> functions f and g is adjusted to T ′ which skips the input until symbol γ is<br />

obtained. This is obtained with one additional state (cT ,i) ↦→ (i, cT )fori =0, 1<br />

and (cT ,ν) ↦→ (ν, s0) wheres0is the starting state for T .Asinthecase<strong>of</strong><br />

composition we further adjust the prototiles for functions f and g into prototiles<br />

¯P (f) ′ and ¯ P (g) ′ which read/write pairs <strong>of</strong> symbols, but the computation <strong>of</strong> f and<br />

g is performed on the first coordinate, i.e., every prototile <strong>of</strong> the form [q, a, a ′ ,q ′ ]<br />

in the set <strong>of</strong> prototiles for f and g is substituted with [q, (a, a2), (a ′ ,a2),q ′ ]where<br />

a2 are in {0, 1}. Second coordinates are kept to “remember” the input for f and g<br />

that is used in the current computation and will be used in the next computation<br />

as well.<br />

In this case the recursion is obtained by the following procedure:<br />

– Translate input (t+1| x, 0) into (t+1| ¯x, ¯0) using the translation transducer<br />

T2 as presented in Figure 6 and adjusted with the additional state to skip<br />

the initial t +1.Noweachsymbolain the input portion (x, 0) is translated<br />

into a pair (a, a).<br />

– Apply ¯ P (f) ′ , hence the result f(x) can be read from the first coordinates <strong>of</strong><br />

the input symbols and the input (x, 0) is read in the second coordinates.<br />

– Mark with M ′ 1 the end <strong>of</strong> input from the first coordinate. This is the same<br />

transducer M1 as used in the composition, except in this case there is an<br />

extra state cM1 that skips the counter t + 1 at the beginning.<br />

– Shift coordinates using σ ′ 2 , i.e., the same transducer as σ2 for the composition<br />

with the additional state cσ2 to skip the counter.<br />

– Translate back from pairs into {0, 1} with T ′ R . Now the result reads as (t +<br />

1 | f(x), x, 0), i.e., h(x, 0) = f(x) isreadrightaftersymbolν.<br />

– For an input (t +1| f(x), x, 0) reduce t + 1 for one. This is done with transducer<br />

presented in Figure 8 (a). The new input reads (t | f(x), x, 0).<br />

– Check for end <strong>of</strong> computation with transducer that accepts 0 ···0νw for any<br />

word w. Note that the language 0∗ν(0 + 1) ∗ is regular and so accepted by<br />

a finite state transducer that has each transition with output symbols same<br />

as input symbols.<br />

!

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

Saved successfully!

Ooh no, something went wrong!