RS with context automaton (we embed CA with RS)

This commit is contained in:
Artur Meski
2018-03-03 21:19:13 +00:00
parent f121ce12fd
commit c853e40ad7
10 changed files with 93 additions and 149 deletions

View File

@@ -91,7 +91,12 @@ options:
;
option:
| USE_CTX_AUT { }
| USE_CTX_AUT {
driver.useContextAutomaton();
}
| USE_CONCENTRATIONS {
driver.useConcentrations();
}
;
/*
@@ -190,6 +195,8 @@ ctxaut:
;
autstate: IDENTIFIER {
driver.getReactionSystem()->ctxAutAddState(*$1);
free($1);
}
;