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.

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

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

in applicati<strong>on</strong> of rules has been improved by introducing the new c<strong>on</strong>cept of<br />

c<strong>on</strong>sistent block. More details can be obtained from the following definiti<strong>on</strong>s<br />

and the descripti<strong>on</strong> of the DNDP algorithm [10,11].<br />

3.1 Definiti<strong>on</strong>s for Blocks and C<strong>on</strong>sistency<br />

The selecti<strong>on</strong> mechanism starts from the assumpti<strong>on</strong> that rules in R and R E<br />

can be classified into blocks of rules having the same left-hand side, following<br />

the Definiti<strong>on</strong>s 2, 3 and 4 given below.<br />

Definiti<strong>on</strong> 2. The left and right-hand sides of the rules are defined as follows:<br />

(a) Given a rule r ∈ R of the form u[v] α i → u ′ [v ′ ] α′<br />

i where 1 ≤ i ≤ q,<br />

α, α ′ ∈ {0, +, −} and u, v, u ′ , v ′ ∈ Γ ∗ :<br />

– The left-hand side of r is LHS(r) = (i, α, u, v). The charge of LHS(r)<br />

is α.<br />

– The right-hand side of r is RHS(r) = (i, α ′ , u ′ , v ′ ). The charge of<br />

RHS(r) is α ′ .<br />

(b) Given a rule r ∈ R E of the form (x) ej<br />

and x, y 1 , . . . , y h ∈ Σ:<br />

– The left-hand side of r is LHS(r) = (e j , x).<br />

– The right-hand side of r is RHS(r) = (e j1 , y 1 ) · · · (e jh , y h ).<br />

p<br />

−−−→ (y 1 ) ej1 · · · (y h ) ejh where e j ∈ V<br />

Definiti<strong>on</strong> 3. Rules from R can be classified in blocks associated to (i, α, u, v)<br />

as follows: B i,α,u,v = {r ∈ R : LHS(r) = (i, α, u, v)}.<br />

Definiti<strong>on</strong> 4. Rules from R E can be classified in blocks associated to (e j , x) as<br />

follows: B ej,x = {r ∈ R E : LHS(r) = (e j , x)}.<br />

Recall that, according to the semantics of the model, the sum of probabilities<br />

of all the rules bel<strong>on</strong>ging to the same block is always equal to 1 – in particular,<br />

rules with probability equal to 1 form individual blocks. Note that rules with<br />

overlapping (but different) left-hand sides are classified into different blocks.<br />

Definiti<strong>on</strong> 5. A block B i,α,u,v is c<strong>on</strong>sistent if and <strong>on</strong>ly if ∃α ′ such that ∀r ∈<br />

B i,α,u,v the charge of RHS(r) is α ′ .<br />

Now, we c<strong>on</strong>sider blocks of the type B i,α,α ′ ,u,v = {r ∈ R : ∃u ′ , v ′ ∈ Γ ∗ : r ≡<br />

u[v] α i → u ′ [v ′ ] α′<br />

i }. Then, a block B i,α,u,v is c<strong>on</strong>sistent if and <strong>on</strong>ly if there exists<br />

α ′ such that B i,α,u,v = B i,α,α ′ ,u,v.<br />

Remark 1. Note that all the rules r ∈ B i,α,α ′ ,u,v can be c<strong>on</strong>sistently applied, in<br />

the sense that each membrane i with charge α goes to the same charge α ′ by<br />

any rule of B i,α,α′ ,u,v.<br />

Definiti<strong>on</strong> 6. Two blocks B i1,α 1,α ′ and B 1 ,u1,v1 i 2,α 2,α ′ 2 ,u2,v2 are mutually c<strong>on</strong>sistent<br />

with each other, if and <strong>on</strong>ly if (i 1 = i 2 ∧ α 1 = α 2 ) ⇒ (α 1 ′ = α 2).<br />

′<br />

295

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

Saved successfully!

Ooh no, something went wrong!