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.

P. Ramón, A. Troina<br />

substituti<strong>on</strong> of variables, with ground terms (c<strong>on</strong>taining no variables). Note that<br />

we force exactly <strong>on</strong>e variable to occur in each compartment c<strong>on</strong>tent and wrap of<br />

our patterns. This prevents ambiguities in the instantiati<strong>on</strong>s needed to match a<br />

given compartment. 4<br />

Definiti<strong>on</strong> 3 (Rewrite rules). A rewrite rule is a triple (l, P , O), denoted by<br />

l : P ↦−→ O, where the pattern P and the open term O are such that the variables<br />

occurring in O are a subset of the variables occurring in P .<br />

The rewrite rule l : P ↦→ O can be applied to any compartment of type l<br />

with P in its c<strong>on</strong>tent (that will be rewritten with O). Namely, the applicati<strong>on</strong><br />

of l : P ↦→ O to term t is performed in the following way:<br />

1. find in t (if it exists) a compartment of type l with c<strong>on</strong>tent t ′ and a substituti<strong>on</strong><br />

σ of variables by ground terms such that t ′ = σ(P X); 5<br />

2. replace in t the subterm t ′ with σ(O X).<br />

For instance, the rewrite rule l : a b ↦→ c means that in compartments of<br />

type l an occurrence of a b can be replaced by c. We write t ↦→ t ′ to denote a<br />

reducti<strong>on</strong> obtained by applying a rewrite rule to t resulting to t ′ .<br />

While a rewrite rule does not change the label l of the compartment where<br />

it is applied, it may change the labels of the compartments occurring in its<br />

c<strong>on</strong>tent. For instance, the rewrite rule l : (a x ⌋ X) l1 ↦→ (a x ⌋ X) l2 means that,<br />

if c<strong>on</strong>tained in a compartment of type l, a compartment of type l 1 c<strong>on</strong>taining<br />

an a <strong>on</strong> its wrap can be changed to type l 2 .<br />

CWC Models. For uniformity reas<strong>on</strong>s we assume that the whole system is always<br />

represented by a term c<strong>on</strong>sisting of a single (top level) compartment with<br />

distinguished label ⊤ and empty wrap, i.e., any system is represented by a term<br />

of the shape (• ⌋ t) ⊤ , which, for simplicity, will be written as t. Note that while<br />

an infinite set of terms and rewrite rules can be defined from the syntactic definiti<strong>on</strong>s<br />

in this secti<strong>on</strong>, a CWC model c<strong>on</strong>sists of an initial system (• ⌋ t) ⊤ and a<br />

finite set of rewrite rules R.<br />

2.3 Stochastic Simulati<strong>on</strong><br />

A stochastic simulati<strong>on</strong> model for ecological systems can be defined by incorporating<br />

a collisi<strong>on</strong>-based framework al<strong>on</strong>g the lines of the <strong>on</strong>e presented by<br />

Gillespie in [32], which is, de facto, the standard way to model quantitative aspects<br />

of biological systems. The basic idea of Gillespie’s algorithm is that a rate<br />

is associated with each c<strong>on</strong>sidered reacti<strong>on</strong> which is used as the parameter of an<br />

exp<strong>on</strong>ential probability distributi<strong>on</strong> modelling the time needed for the reacti<strong>on</strong><br />

4 The linearity c<strong>on</strong>diti<strong>on</strong>, in biological terms, corresp<strong>on</strong>ds to excluding that a transformati<strong>on</strong><br />

can depend <strong>on</strong> the presence of two (or more) identical (and generic) comp<strong>on</strong>ents<br />

in different compartments (see also [36]).<br />

5 The implicit (distinguished) variable X matches with all the remaining part of the<br />

compartment c<strong>on</strong>tent.<br />

388

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

Saved successfully!

Ooh no, something went wrong!