Examples and clean-ups (#1)

- Attempt at implementing an example for DRS
- Complete reactions set
- New automaton
- Formula
- Fixed automaton scaling
- Proc index in the formula
- Benchmark generators
- Scripts to reproduce experiments for reaction mining
This commit was merged in pull request #1.
This commit is contained in:
Artur Meski
2023-11-06 21:09:08 +00:00
committed by GitHub
parent 888ed4e68e
commit af26ca543b
16 changed files with 1145 additions and 132 deletions

4
examples/smt/chain_reaction.py Normal file → Executable file
View File

@@ -28,7 +28,6 @@ import resource
def chain_reaction(print_system=False):
if len(sys.argv) < 1 + 3:
print("{source} <N> <M> <type>".format(source=sys.argv[0]))
print()
@@ -39,7 +38,7 @@ def chain_reaction(print_system=False):
print()
exit(1)
chainLen = int(sys.argv[1])
chainLen = int(sys.argv[1])
maxConc = int(sys.argv[2]) # depth (max concentration)
verify_rsc = bool(int(sys.argv[3]))
@@ -115,7 +114,6 @@ def chain_reaction(print_system=False):
def main():
chain_reaction()