Skip to main content

2021 | OriginalPaper | Buchkapitel

Nonlinear Pattern Matching in Rule-Based Modeling Languages

verfasst von : Tom Warnke, Adelinde M. Uhrmacher

Erschienen in: Computational Methods in Systems Biology

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Rule-based modeling is an established paradigm for specifying simulation models of biochemical reaction networks. The expressiveness of rule-based modeling languages depends heavily on the expressiveness of the patterns on the left side of rules. Nonlinear patterns allow variables to occur multiple times. Combined with variables used in expressions, they provide great expressive power, in particular to express dynamics in discrete space. This has been exploited in some of the rule-based languages that were proposed in the last years. We focus on precisely defining the operational semantics of matching nonlinear patterns. We first adopt the usual approach to match nonlinear patterns by translating them to a linear pattern. We then introduce an alternative semantics that propagates values from one occurrence of a variable to other ones, and show that this novel approach permits a more efficient pattern matching algorithm. We confirm this theoretical result by benchmarking proof-of-concept implementations of both approaches.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
The source code repository at https://​git.​informatik.​uni-rostock.​de/​mosi/​pattern-matching contains instructions on how to reproduce this plot.
 
2
See, for example, this discussion on the haskell-cafe mailing list.
 
Literatur
1.
Zurück zum Zitat Baader, F., Nipkow, T., Franz, B.: Term Rewriting and All That. Cambridge University Press, Cambridge (2006) Baader, F., Nipkow, T., Franz, B.: Term Rewriting and All That. Cambridge University Press, Cambridge (2006)
3.
Zurück zum Zitat Bernardy, J.-P., Boespflug, M., Newton, R.R., Jones, S.P., Spiwack, A.: Linear haskell: practical linearity in a higher-order polymorphic language. In: Proceedings of the ACM on Programming Languages, vol. 2, no. POPL, pp. 1–29 (2018) Bernardy, J.-P., Boespflug, M., Newton, R.R., Jones, S.P., Spiwack, A.: Linear haskell: practical linearity in a higher-order polymorphic language. In: Proceedings of the ACM on Programming Languages, vol. 2, no. POPL, pp. 1–29 (2018)
4.
Zurück zum Zitat Bittig, A.T., Uhrmacher, A.M.: ML-space: hybrid spatial gillespie and particle simulation of multi-level rule-based models in cell biology. IEEE/ACM Trans. Comput. Biol. Bioinf. 14(6), 1339–1349 (2017)CrossRef Bittig, A.T., Uhrmacher, A.M.: ML-space: hybrid spatial gillespie and particle simulation of multi-level rule-based models in cell biology. IEEE/ACM Trans. Comput. Biol. Bioinf. 14(6), 1339–1349 (2017)CrossRef
5.
Zurück zum Zitat Blinov, M.L., Faeder, J.R., Goldstein, B., Hlavacek, W.S.: Bionetgen: software for rule-based modeling of signal transduction based on the interactions of molecular domains. Bioinformatics 20(17), 3289–3291 (2004)CrossRef Blinov, M.L., Faeder, J.R., Goldstein, B., Hlavacek, W.S.: Bionetgen: software for rule-based modeling of signal transduction based on the interactions of molecular domains. Bioinformatics 20(17), 3289–3291 (2004)CrossRef
6.
Zurück zum Zitat Danos, V., Laneve, C.: Formal molecular biology. Theor. Comput. Sci. 325(1), 69–110 (2004)CrossRef Danos, V., Laneve, C.: Formal molecular biology. Theor. Comput. Sci. 325(1), 69–110 (2004)CrossRef
7.
Zurück zum Zitat De Nicola, R., Latella, D., Loreti, M., Massink, M.: A uniform definition of stochastic process calculi. ACM Comput. Surv. 46(1), 1–35 (2013)CrossRef De Nicola, R., Latella, D., Loreti, M., Massink, M.: A uniform definition of stochastic process calculi. ACM Comput. Surv. 46(1), 1–35 (2013)CrossRef
8.
Zurück zum Zitat Egi, S.: Egison: non-linear pattern-matching against non-free data types (2015) Egi, S.: Egison: non-linear pattern-matching against non-free data types (2015)
9.
Zurück zum Zitat Faeder, J.R., Blinov, M.L., Hlavacek, W.S.: Rule-based modeling of biochemical systems with bionetgen. In: Maly, I.V. (ed.) Methods in Molecular Biology, pp. 113–167. Humana Press (2009) Faeder, J.R., Blinov, M.L., Hlavacek, W.S.: Rule-based modeling of biochemical systems with bionetgen. In: Maly, I.V. (ed.) Methods in Molecular Biology, pp. 113–167. Humana Press (2009)
10.
Zurück zum Zitat Gilbert, D., Heiner, M., Takahashi, K., Uhrmacher, A.M.: Multiscale spatial computational systems biology (dagstuhl seminar 14481) (2015) Gilbert, D., Heiner, M., Takahashi, K., Uhrmacher, A.M.: Multiscale spatial computational systems biology (dagstuhl seminar 14481) (2015)
11.
Zurück zum Zitat Gillespie, D.T.: Exact stochastic simulation of coupled chemical reactions. J. Phys. Chem. 81(25), 2340–2361 (1977)CrossRef Gillespie, D.T.: Exact stochastic simulation of coupled chemical reactions. J. Phys. Chem. 81(25), 2340–2361 (1977)CrossRef
12.
Zurück zum Zitat Helms, T., Warnke, T., Maus, C., Uhrmacher, A.M.: Semantics and efficient simulation algorithms of an expressive multi-level modeling language. ACM Trans. Model. Comput. Simul. 27(2), 8:1–8:25 (2017) Helms, T., Warnke, T., Maus, C., Uhrmacher, A.M.: Semantics and efficient simulation algorithms of an expressive multi-level modeling language. ACM Trans. Model. Comput. Simul. 27(2), 8:1–8:25 (2017)
13.
Zurück zum Zitat Henzinger, T.A., Jobstmann, B., Wolf, V.: Formalisms for specifying markovian population models. Int. J. Found. Comput. Sci. 22(4), 823–841 (2011)CrossRef Henzinger, T.A., Jobstmann, B., Wolf, V.: Formalisms for specifying markovian population models. Int. J. Found. Comput. Sci. 22(4), 823–841 (2011)CrossRef
14.
Zurück zum Zitat Honorato-Zimmer, R., Millar, A.J., Plotkin, G.D., Zardilis, A.: Chromar, a language of parameterised agents. Theor. Comput. Sci. 765, 97–119 (2019)CrossRef Honorato-Zimmer, R., Millar, A.J., Plotkin, G.D., Zardilis, A.: Chromar, a language of parameterised agents. Theor. Comput. Sci. 765, 97–119 (2019)CrossRef
16.
Zurück zum Zitat Krebber, M., Barthels, H., Bientinesi, P.: Efficient pattern matching in python. ACM Press (2017) Krebber, M., Barthels, H., Bientinesi, P.: Efficient pattern matching in python. ACM Press (2017)
17.
Zurück zum Zitat Köster, T., Warnke, T., Uhrmacher, A.M.: Partial evaluation via code generation for static stochastic reaction network models. In: Proceedings of the 2020 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation, Miami FL, Spain, pp. 159–170. ACM (2020) Köster, T., Warnke, T., Uhrmacher, A.M.: Partial evaluation via code generation for static stochastic reaction network models. In: Proceedings of the 2020 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation, Miami FL, Spain, pp. 159–170. ACM (2020)
19.
Zurück zum Zitat Maus, C., Rybacki, S., Uhrmacher, A.M.: Rule-based multi-level modeling of cell biological systems. BMC Syst. Biol. 5(1), 166 (2011)CrossRef Maus, C., Rybacki, S., Uhrmacher, A.M.: Rule-based multi-level modeling of cell biological systems. BMC Syst. Biol. 5(1), 166 (2011)CrossRef
20.
Zurück zum Zitat Oury, N., Plotkin, G.D.: Coloured stochastic multilevel multiset rewriting. ACM Press (2011) Oury, N., Plotkin, G.D.: Coloured stochastic multilevel multiset rewriting. ACM Press (2011)
21.
Zurück zum Zitat Oury, N., Plotkin, G.D.: Multi-level modelling via stochastic multi-level multiset rewriting. Math. Struct. Comput. Sci. 23(2), 471–503 (2013)CrossRef Oury, N., Plotkin, G.D.: Multi-level modelling via stochastic multi-level multiset rewriting. Math. Struct. Comput. Sci. 23(2), 471–503 (2013)CrossRef
22.
Zurück zum Zitat Pierce, B.C.: Types and Programming Languages. MIT Press, Cambridge (2002) Pierce, B.C.: Types and Programming Languages. MIT Press, Cambridge (2002)
23.
Zurück zum Zitat Suderman, R., Mitra, E.D., Lin, Y.T., Erickson, K.E., Feng, S., Hlavacek, W.S.: Generalizing gillespie’s direct method to enable network-free simulations. Bull. Math. Biol. 81(8), 2822–2848 (2018)CrossRef Suderman, R., Mitra, E.D., Lin, Y.T., Erickson, K.E., Feng, S., Hlavacek, W.S.: Generalizing gillespie’s direct method to enable network-free simulations. Bull. Math. Biol. 81(8), 2822–2848 (2018)CrossRef
24.
Zurück zum Zitat Warnke, T., Helms, T., Uhrmacher, A.M.: Syntax and semantics of a multi-level modeling language. In: Proceedings of the 2015 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation, pp. 133–144. ACM, New York (2015) Warnke, T., Helms, T., Uhrmacher, A.M.: Syntax and semantics of a multi-level modeling language. In: Proceedings of the 2015 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation, pp. 133–144. ACM, New York (2015)
25.
Zurück zum Zitat Weiss, A., Gierczak, O., Patterson, D., Matsakis, N.D., Ahmed, A.: The essence of rust. Oxide (2020) Weiss, A., Gierczak, O., Patterson, D., Matsakis, N.D., Ahmed, A.: The essence of rust. Oxide (2020)
Metadaten
Titel
Nonlinear Pattern Matching in Rule-Based Modeling Languages
verfasst von
Tom Warnke
Adelinde M. Uhrmacher
Copyright-Jahr
2021
DOI
https://doi.org/10.1007/978-3-030-85633-5_12