Fix handling of PSL operators in reductions rules.
We still don't have any PSL-specific reductions, but at least the LTL reduction now appear to work on PSL formulas. * src/ltlvisit/basicreduce.cc (basic_reduce_visitor): Fix the call to std::copy to handle Concat, Fusion, and AndNLM. * src/ltlvisit/reduce.cc (reduce_visitor): Fix handling of UConcat, EConcat, and EConcatMarked. * src/tgbatest/randpsl.test: Activate reductions. * src/ltltest/reducpsl.test: New file. * src/ltltest/Makefile.am (TESTS): Add it.
This commit is contained in:
parent
b8b4aa72c5
commit
c8801935bf
5 changed files with 53 additions and 6 deletions
|
|
@ -34,7 +34,7 @@ check_psl()
|
|||
run 0 ../ltl2tgba -f -x -R3 -Pout.tgba -E "!($1)"
|
||||
}
|
||||
|
||||
../../ltltest/randltl -F 50 -f 30 -u -s 0 -P a b c |
|
||||
../../ltltest/randltl -F 50 -f 30 -r 12 -u -s 0 -P a b c |
|
||||
while read formula; do
|
||||
check_psl "$formula"
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue