web ltl2tgba: add an option to disable larger rewritings
* wrap/python/ajax/ltl2tgba.html: Add a checkbox and some code to keep it consistent with the basic rewriting checkbox. * wrap/python/ajax/spot.in: Deal with the new option. * wrap/python/ajax/protocol.txt: Document it.
This commit is contained in:
parent
8f40fd41f4
commit
bdeb87a6b0
3 changed files with 31 additions and 8 deletions
|
|
@ -349,12 +349,15 @@ if not f:
|
|||
finish()
|
||||
|
||||
# Formula simplifications
|
||||
simpopt = spot.ltl_simplifier_options(False, False, False, False, False)
|
||||
simpopt = spot.ltl_simplifier_options(False, False, False,
|
||||
False, False, False, True)
|
||||
dored = False
|
||||
for r in form.getlist('r'):
|
||||
dored = True
|
||||
if r == 'br':
|
||||
simpopt.reduce_basics = True
|
||||
elif r == 'lf':
|
||||
simpopt.reduce_size_strictly = False
|
||||
elif r == 'si':
|
||||
simpopt.synt_impl = True
|
||||
elif r == 'eu':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue