* src/tgbatest/bddprod.test: New file.
* src/tgbatest/Makefile.am (check_PROGRAMS): Add bddprod. (bddprod_SOURCES, bddprod_CXXFLAGS): New variables. (TESTS): Add bddprod.test. * src/tgbatest/ltlprod.c: Handle BDD_CONCRETE_PRODUCT.
This commit is contained in:
parent
4472a29227
commit
0233f31ee0
5 changed files with 35 additions and 2 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include "ltlparse/public.hh"
|
||||
#include "tgba/ltl2tgba.hh"
|
||||
#include "tgba/tgbabddprod.hh"
|
||||
#include "tgba/tgbabddconcreteproduct.hh"
|
||||
#include "tgbaalgos/dotty.hh"
|
||||
|
||||
void
|
||||
|
|
@ -42,7 +43,11 @@ main(int argc, char** argv)
|
|||
spot::ltl::destroy(f1);
|
||||
spot::ltl::destroy(f2);
|
||||
|
||||
#ifdef BDD_CONCRETE_PRODUCT
|
||||
spot::tgba_bdd_concrete p = spot::product(a1, a2);
|
||||
#else
|
||||
spot::tgba_bdd_product p(a1, a2);
|
||||
#endif
|
||||
|
||||
spot::dotty_reachable(std::cout, p);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue