All Downloads are FREE. Search and download functionalities are using the official Maven repository.

examples.filter.mlrj2 Maven / Gradle / Ivy

Go to download

The main project for the external domain-specific modeling language ML-Rules, which is used to model hierarchical biochemical reaction networks with nested and attributed species

There is a newer version: 2.2.13-headless
Show newest version
//constants
k1 : 0.1;

//functions

// remove all A species from the given species
filterA :: sol -> sol;
filterA [] = [];
filterA x + xs = (if (name(x) == 'A') then [] else x) + filterA(xs);

//species
Cell()[];
A();

//initial solution
>>INIT[10 Cell[100 A]];

//reaction rules
Cell[sol?]:c -> Cell[filterA(sol?)] @ k1 * #c;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy