* src/ltlvisit/tostring.hh (to_spin_string): New function.
Convert a formula into a string parsable by Spin. * src/tgbaalgos/neverclaim.hh, src/tgbaalgos/neverclaim.cc: New files. Print the never claim in Spin format of a degeneralized TGBA. * src/tgbaalgos/Makefile.am: Add them. * src/tgbatest/ltl2tgba.cc: Add the option -N which outputs the never claim in Spin format of a degeneralized TGBA. * src/tgbatest/ltl2neverclaim.test: New file. * src/tgbatest/Makefile.am: Add it.
This commit is contained in:
parent
4d73490a49
commit
8d8af2e53a
11 changed files with 437 additions and 5 deletions
|
|
@ -108,6 +108,8 @@ void ExternalTranslator::translate
|
|||
string translated_formula;
|
||||
translateFormula(formula, translated_formula);
|
||||
|
||||
std::cout << translated_formula << std::endl;
|
||||
|
||||
ofstream input_file;
|
||||
input_file.open(external_program_input_file.getName().c_str(),
|
||||
ios::out | ios::trunc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue