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 />

– Env =<br />

⎡<br />

(6 × 6, w E ),<br />

⎤<br />

D D D D D D<br />

D S S D D D<br />

– w E =<br />

D S S D D D<br />

⎢ D D D S S D<br />

,<br />

⎥<br />

⎣ D D D S S D ⎦<br />

D D D D D D<br />

– B 1 = (ee, P 1 , [1, 1]), B 2 = (ee, P 2 , [1, 2]),. . . , B 16 = (ee, P 16 , [4, 4]),<br />

– f ∈ A is the final object of the col<strong>on</strong>y.<br />

The states of the automata are stored inside the cells ( D - dead automat<strong>on</strong>,<br />

S - live automat<strong>on</strong> ). There is <strong>on</strong>ly <strong>on</strong>e kind of agent in this 2D P col<strong>on</strong>y, so there<br />

are sixteen identical agents located in the matrix 4 × 4 of inner cells (see fig.2).<br />

The sets of their programs are defined according to the rules of the automata:<br />

– Any live automat<strong>on</strong> with fewer than two live neighbours dies, due to underpopulati<strong>on</strong>.<br />

– Any live automat<strong>on</strong> with more than three live neighbours dies, due to overcrowding.<br />

– Any live automat<strong>on</strong> with two or three live neighbours lives, unchanged, to<br />

the next generati<strong>on</strong>.<br />

– Any dead automat<strong>on</strong> with exactly three live neighbouring automata will<br />

come to life.<br />

The first program is to initialize the agent 〈e ↔ e; e → Z〉;<br />

We sort the programs using the number of copies of object S in the c<strong>on</strong>diti<strong>on</strong><br />

of the movement rule.<br />

1. when neighbouring automata are dead - a single program for both dead as<br />

〈 ⎡<br />

well as live automat<strong>on</strong> ⎣ D D D ⎤<br />

〉<br />

D e D ⎦ → ⇑; Z → M .<br />

D D D<br />

2. when there is <strong>on</strong>e live neighbouring automat<strong>on</strong> - there are eight possible<br />

〈 ⎡ ⎤<br />

〉<br />

S D D<br />

programs for dead as well as live automata ⎣ D e D ⎦ → ⇑; Z → M<br />

D D D<br />

and seven other combinati<strong>on</strong>s.<br />

3. when there are two live neighbouring automata - twenty-eight programs for<br />

〈 ⎡ ⎤<br />

S S D<br />

〉<br />

live automata ⎣ D S D ⎦ → ⇑; Z → O and other twenty-seven combinati<strong>on</strong>s.<br />

D D D<br />

4. when there are two live neighbouring automata - twenty-eight programs for<br />

〈 ⎡<br />

dead automata ⎣ S S D<br />

⎤<br />

〉<br />

D D D ⎦ → ⇑; Z → M and other twenty-seven combinati<strong>on</strong>s.<br />

D D D<br />

166

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

Saved successfully!

Ooh no, something went wrong!