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

Create successful ePaper yourself

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

DCBA: Simulating populati<strong>on</strong> dynamics P systems with proporti<strong>on</strong>al object<br />

distributi<strong>on</strong><br />

Thus, we have extended the pLinguaCore library to include the DCBA<br />

simulati<strong>on</strong> algorithm for PDP systems. The current versi<strong>on</strong> of pLinguaCore is<br />

3.0 and can be downloaded from [17].<br />

In this secti<strong>on</strong>, we use the model of the Bearded Vulture described above to<br />

compare the simulati<strong>on</strong> results produced by the pLinguaCore library using two<br />

different simulati<strong>on</strong> algorithms: DNDP [11] and DCBA. We also compare the<br />

results of the implemented simulati<strong>on</strong> algorithms with the results provided by<br />

the C++ ad hoc simulator and with the actual ecosystem data, both obtained<br />

from [4]. In [18] it can be found the P-Lingua file which defines the model and<br />

instructi<strong>on</strong>s to reproduce the comparis<strong>on</strong>s.<br />

We have set the initial populati<strong>on</strong> values with the actual ecosystem values<br />

for the year 1994. For each simulati<strong>on</strong> algorithm we have made 100 simulati<strong>on</strong>s<br />

of 14 years, that is, 42 computati<strong>on</strong>al steps. The simulati<strong>on</strong> workflow has<br />

been implemented <strong>on</strong> a Java program that runs over the pLinguaCore library<br />

(this Java program can be downloaded from [18]). For each simulated year<br />

(3 computati<strong>on</strong>al steps), the Java program counts the number of animals for<br />

k∑<br />

i,4<br />

each species i, that is: X i = X i,j . After 100 simulati<strong>on</strong>s, the Java program<br />

j=0<br />

calculates average values for each year and species and writes the output to a text<br />

file. Finally, we have used the GnuPlot software [16] to produce the populati<strong>on</strong><br />

graphics.<br />

The populati<strong>on</strong> graphics for each species and simulati<strong>on</strong> algorithm are<br />

represented in Figures 1 to 7.<br />

Fig. 1. Evoluti<strong>on</strong> of the Bearded Vulture birds<br />

Fig. 2. Evoluti<strong>on</strong> of the Pyrenean Chamois<br />

305

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

Saved successfully!

Ooh no, something went wrong!