09.09.2014 Views

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

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.

L. Cienciala, L. Ciencialová, M. Perdek<br />

A computati<strong>on</strong> is n<strong>on</strong>deterministic and maximally parallel. The computati<strong>on</strong><br />

ends by halting when no agent has an applicable program.<br />

The result of the computati<strong>on</strong> is the number of copies of the final object<br />

placed in the envir<strong>on</strong>ment at the end of the computati<strong>on</strong>.<br />

Another way to determine the result of the computati<strong>on</strong> is to take into<br />

account not <strong>on</strong>ly the number of objects but also their locati<strong>on</strong>. The result<br />

could then be a grayscale image, a character string or a number that is dependent<br />

<strong>on</strong> both the number and placement of the objects (for example, g =<br />

∑ (<br />

n−1 ∑m−1<br />

)<br />

j=0 i=0 f(i, j) · n i , where f(i, j) is the number of copies of object f in<br />

the [i, j]-cell).<br />

The reas<strong>on</strong> for the introducti<strong>on</strong> of 2D P col<strong>on</strong>ies is not the study of their<br />

computati<strong>on</strong>al power but m<strong>on</strong>itoring of their behaviour during the computati<strong>on</strong>.<br />

We can define some measures to assess the dynamics of the computati<strong>on</strong>:<br />

– the number of moves of agents<br />

– the number of visited cells (or not visited cells)<br />

– the number of copies of a certain object in the home cell or throughout the<br />

envir<strong>on</strong>ment.<br />

These measures can be observed both for the individual steps of the computati<strong>on</strong><br />

and the computati<strong>on</strong> as a whole.<br />

4 Examples<br />

In this secti<strong>on</strong> we show some examples of 2D P col<strong>on</strong>ies. The first 2D P col<strong>on</strong>y<br />

can be called a runner <strong>on</strong> bs.<br />

Example 1. Let Π 1 be 2D P col<strong>on</strong>y defined as follows: Π 1 = (A, e, Env, B 1 , f),<br />

where<br />

– A = {e, f, a, b},<br />

– e ∈ A is the basic envir<strong>on</strong>mental object of the col<strong>on</strong>y,<br />

– Env = ⎡(5 × 5, w E ⎤),<br />

a a a a a<br />

a b b b a<br />

– w E =<br />

⎢ a b a b a<br />

⎥<br />

⎣ a b b b a ⎦ ,<br />

a a a a a<br />

– B 1 = (aa, P 1 , [1, 1]),<br />

〈 ⎡ ⎤<br />

∗ b ∗<br />

〉 〈 ⎡ ⎤<br />

∗ ∗ ∗<br />

〉<br />

– P 1 = { ⎣ ∗ b ∗ ⎦ → ⇑; a → a ; ⎣ ∗ b ∗ ⎦ → ⇓; a → a ; }<br />

∗ ∗ ∗<br />

∗ b ∗<br />

〈 ⎡ ⎤<br />

∗ ∗ ∗<br />

〉 〈 ⎡ ⎤<br />

∗ ∗ ∗<br />

〉<br />

⎣ b b ∗ ⎦ → ⇐; a → a ; ⎣ ∗ b b ⎦ → ⇒; a → a<br />

∗ ∗ ∗<br />

∗ ∗ ∗<br />

The star <strong>on</strong> the matrix means that the agent does not care about the c<strong>on</strong>tents<br />

of the corresp<strong>on</strong>ding cell.<br />

164

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

Saved successfully!

Ooh no, something went wrong!