Starting to convert main_do, statistics, frequency not working

frequency not working, also need to look into perpetual better
This commit is contained in:
elvis
2025-07-01 04:04:13 +02:00
parent 65d6c93424
commit 5af8cd98c2
9 changed files with 450 additions and 207 deletions

25
testing/first.stats Normal file
View File

@ -0,0 +1,25 @@
Statistics:
=============================================================
the initial state has 2 entities:
{a, b}
The reactants are 2:
{a, b}
The inhibitors are 1:
{c}
The products are 1:
{b}
The reactions involve 3 entities:
{a, b, c}
The environment involves 2 entities:
{a, b}
The context involves 3 entities:
{a, b, c}
The whole RS involves 3 entities:
{a, b, c}
There are 0 reactants that will never be available:
{}
The context can provide 0 entities that will never be used:
{}
There are 1 reactions in total.
- the applicable reactions are 1.
- there are 0 reactions that will never be enabled.

4
testing/first.system Normal file
View File

@ -0,0 +1,4 @@
Environment: [x = {a}.y, y =({a}.x + {b}.y)]
Initial Entities: {a, b}
Context: [({a,b}.{a}.{a,c}.x + {a,b}.{a}.{a}.nil)]
Reactions: ([r: {a,b}, i: {c}, p: {b}])