chemart / mcs-bl
View on GitHubMolecular Classifier System (MCS.bl) — Every molecule can be the enzyme or the substrate. Strings over a small alphabet of data and control symbols act on each other by pattern matching: one string's units match a region of another and rewrite it, with both r…
{"species": [{"id": "m_SD0CD1", "structure": "*$0:$1"}, {"id": "m_SD0CD0", "structure": "*$0:$0"}, {"id": "m_SD1CD0", "structure": "*$1:$0"}, {"id": "m_SD1CD1", "structure": "*$1:$1"}], "reactions": [{"reactants": {"m_SD0CD1": 1, "m_SD0CD0": 1}, "products": {"m_SD0CD1": 2, "m_SD0CD0": 1}, "rate": {"law": "mass-action", "k": 1.0}, "count": null}, {"reactants": {"m_SD0CD1": 1, "m_SD1CD0": 1}, "products": {"m_SD0CD1": 1, "m_SD1CD0": 1, "m_SD1CD1": 1}, "rate": {"law": "mass-action", "k": 1.0}, "count": null}, {"reactants": {"m_SD0CD0": 1, "m_SD1CD0": 1}, "products": {"m_SD0CD0": 1, "m_SD1CD0": 2}, "rate": {"law": "mass-action", "k": 1.0}, "count": null}, {"reactants": {"m_SD1CD0": 1, "m_SD0CD1": 1}, "products": {"m_SD1CD0": 1, "m_SD0CD1": 1, "m_SD0CD0": 1}, "rate": {"law": "mass-action", "k": 1.0}, "count": null}, {"reactants": {"m_SD1CD0": 1, "m_SD1CD1": 1}, "products": {"m_SD1CD0": 2, "m_SD1CD1": 1}, "rate": {"law": "mass-action", "k": 1.0}, "count": null}, {"reactants": {"m_SD1CD1": 1, "m_SD0CD1": 1}, "products": {"m_SD1CD1": 1, "m_SD0CD1": 2}, "rate": {"law": "mass-action", "k": 1.0}, "count": null}], "status": "complete", "initial_state": {"m_SD0CD1": 10.0, "m_SD0CD0": 10.0, "m_SD1CD0": 10.0, "m_SD1CD1": 10.0}, "inflow": null, "outflow": "constant-total", "extras": {"seed": ["m_SD0CD1", "m_SD0CD0", "m_SD1CD0", "m_SD1CD1"]}, "chemistry": "mcs-bl", "params": {"method": "closure", "strings": ["*$0:$1", "*$0:$0", "*$1:$0", "*$1:$1"], "self_replication": false, "max_length": 500, "max_species": 200, "initial_copies": 10, "n_random": 0, "random_length": 10, "n_max": 1000, "steps": 10000, "p_s": 1e-05}, "seed": 1}