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.

222 Nataˇsa Jonoska, Shiping Liao, and Nadrian C. Seeman<br />

Examples:<br />

1. The transducer T1 presented in Figure 1 (a) has initial and terminal state s0.<br />

The input alphabet is {0, 1} and the output alphabet is Σ ′ = ∅. It recognizes<br />

the set <strong>of</strong> binary strings that represent numbers divisible by 3. The states<br />

s0,s1,s2 represent the remainder <strong>of</strong> the division <strong>of</strong> the input string with 3.<br />

0 1<br />

0<br />

s0 s1 s2 1<br />

0<br />

1<br />

0 0<br />

s 0<br />

1 0<br />

1 1<br />

(a) (b)<br />

Fig. 1. A finite state machine that accepts binary strings that are divisible by 3.<br />

The machine in figure (b) outputs the result <strong>of</strong> dividing the binary string with<br />

3inbinary<br />

2. The transducer T2 presented in Figure 1 (b) is essentially the same as T1<br />

except that now the output alphabet is also {0, 1}. The output in this case<br />

is the result <strong>of</strong> the division <strong>of</strong> the binary string with three. On input 10101<br />

(21 in decimal) the transducer gives the output 00111 (7 in decimal).<br />

3. Our next example refers to encoders. Due to manufacturing constraints <strong>of</strong><br />

magnetic storage devices, the binary data cannot be stored verbatim on the<br />

disk drive. One method <strong>of</strong> storing binary data on a disk drive is by using the<br />

modified frequency modulation (MFM) scheme currently used on many disk<br />

drives. The MFM scheme inserts a 0 between each pair <strong>of</strong> data bits, unless<br />

both data bits are 0, in which case it inserts a 1. The finite state machine,<br />

transducer, that provides this simple scheme is represented in Figure 2 (a).<br />

In this case the output alphabet is Σ ′ = {00, 01, 10}. If we consider rewriting<br />

<strong>of</strong> the symbols with 00 ↦→ α, 01↦→ β and 10 ↦→ γ we have the transducer in<br />

Figure 2 (b).<br />

4. A transducer that performs binary addition is presented in Figure 2 (c).<br />

The input alphabet is Σ = {00, 01, 10, 11} representing a pair <strong>of</strong> digits to<br />

be added, i.e., if x = x1 ···xk and y = y1 ···yk are two numbers written<br />

in binary (xi,yi = {0, 1}), the input for the transducer is written in form<br />

[xkyk] [xk−1yk−1] ··· [x1y1]. The output <strong>of</strong> the transducer is the sum <strong>of</strong><br />

those numbers. The state s1 is the “carry”, s0 is the initial state and all<br />

states are terminal. In [16] essentially the same transducer was simultaed by<br />

gradually connecting TX molecules.<br />

For a given T =(Σ,Σ ′ ,Q,δ,s0,F) the transition (q, a) δ<br />

↦→ (a ′ ,q ′ )schematically<br />

can be represented with a square as shown in Figure 3. Such a square can<br />

be considered as a Wang tile with colored edges, such that left and right we have<br />

the state colors encoding the input and output states <strong>of</strong> the transition and down<br />

s 1<br />

0 0<br />

0 1<br />

s 2<br />

1 1

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

Saved successfully!

Ooh no, something went wrong!