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.

274 Satoshi Kobayashi, Takashi Yokomori, and Yasubumi Sakakibara<br />

Thus, the second equation holds. Note that the value <strong>of</strong> E( |−→ x|<br />

|y|<br />

) depends only on<br />

←−<br />

the loop length, the loop length mismatch, and the eight bases x[1],x[2],x[|x|−<br />

1],x[|x|],y[1],y[2],y[|y| −1],y[|y|]. Since, for each loop length and loop length<br />

mismatch, all possible combinations <strong>of</strong> those eight bases can be computed in<br />

O(|S|) time,minI(v1,v2) can also be computed in O(|S|) time.<br />

−−−−→<br />

xα[1,i]|<br />

(3) The set <strong>of</strong> free end structures β[j, n]y<br />

←−−−− | such that x, y ∈ S∗ corresponds<br />

to the set <strong>of</strong> all free end structures which could have boundary configuration<br />

−−−−→<br />

xα[1,i]|<br />

v1. It is clear that E( β[j, n]y|<br />

) takes the minimum value for some x, y ∈ S∗<br />

←−−−−<br />

such that |x|, |y| ≤ n. Thus, the third equation holds. Let s = xα[1,i]and<br />

t = β[j, n]y. Then, note that the value <strong>of</strong> E( −→ s|<br />

←−<br />

t|<br />

) depends only on the four<br />

bases s[|s| −1],s[|s|],t[1],t[2]. Since for fixed lengths <strong>of</strong> s and t, all possible<br />

combinations <strong>of</strong> those four bases can be computed in O(|S|) time,minD(v1)<br />

can also be computed in O(|S|) time. ⊓⊔<br />

5 Algorithm for Testing the Structure Freeness<br />

For a set S <strong>of</strong> strings, we construct a weighted directed graph G(S) =(V,E,w),<br />

called the Hydrogen Bond Network graph (HBN graph) <strong>of</strong> the set S, whereV<br />

and E are defined as follows:<br />

V = V ′ ∪{d, h},<br />

V ′ ⎛<br />

−→<br />

α (i)<br />

= { ⎝ ·<br />

β<br />

←− (j)<br />

⎞<br />

⎠ | α, β ∈ S, θ(α[i]) = β[j], 1 ≤ i, j ≤ n },<br />

E =(V ′ × V ′ ) ∪ ({d}×V ′ ) ∪ (V ′ ×{h}).<br />

Furthermore, the weight function w is defined as follows:<br />

(1) for v1,v2 ∈ V ′ , we define:<br />

(2) for v ∈ V ′ , we define:<br />

(3) for v ∈ V ′ , we define:<br />

w((v1,v2)) = minI(v1,v2),<br />

w((d, v)) = minD(v),<br />

w((v, h)) = minH(v).<br />

For a path p in G,byw(p) we denote the sum <strong>of</strong> weights <strong>of</strong> the edges contained<br />

in p, i.e., the weight <strong>of</strong> the path p.

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

Saved successfully!

Ooh no, something went wrong!