and dead_prop from the dead argument passed to the constructor. (tgba_succ_iterator_gspn): Stutter on dead transitions. (tgba_gspn::tgba_gspn): Hand dead to tgba_gspn_private_. (gspn_interface::gspn_interface): Hand dead to tgba_gspn. * iface/gspn/gspn.hh (gspn_interface::gspn_interface): Take a dead argument. * iface/gspn/ltlgspn.cc [!SSP]: Add a option -d to specify the dead property. * iface/gspn/udcseltl.test: Try option -d.
27 lines
741 B
Bash
Executable file
27 lines
741 B
Bash
Executable file
#! /bin/sh
|
|
|
|
. ./defs || exit 1
|
|
|
|
set -e
|
|
|
|
cp -R $srcdir/examples/udcs .
|
|
chmod +w udcs
|
|
|
|
# F(ReP1 => F(gsP1)) is false
|
|
../ltlgspn-srg -c -l -e udcs/udcs \
|
|
'F(ReP1 => F(gsP1))' ReP1 gsP1 >output && exit 1
|
|
../ltlgspn-srg -c -l -e2 udcs/udcs \
|
|
'F(ReP1 => F(gsP1))' ReP1 gsP1 >output && exit 1
|
|
|
|
# !F(ReP1 => F(gsP1)) is true
|
|
../ltlgspn-srg -c -l -e udcs/udcs '!F(ReP1 => F(gsP1))' ReP1 gsP1 >output
|
|
../ltlgspn-srg -c -l -e2 udcs/udcs '!F(ReP1 => F(gsP1))' ReP1 gsP1 >output
|
|
|
|
# !G(ReP1 => F(gsP1)) is false
|
|
../ltlgspn-srg -c -l -e udcs/udcs \
|
|
'!G(ReP1 => F(gsP1))' ReP1 gsP1 >output && exit 1
|
|
../ltlgspn-srg -d dead -c -l -e2 udcs/udcs \
|
|
'!G(ReP1 => F(gsP1))' ReP1 gsP1 >output && exit 1
|
|
grep 'dead:0' output
|
|
grep 'dead:1' output && exit 1
|
|
:
|