|
@ -11,6 +11,9 @@ |
|
|
#include "spot/tl/parse.hh"
|
|
|
#include "spot/tl/parse.hh"
|
|
|
#include "spot/twaalgos/translate.hh"
|
|
|
#include "spot/twaalgos/translate.hh"
|
|
|
#include "spot/twaalgos/hoa.hh"
|
|
|
#include "spot/twaalgos/hoa.hh"
|
|
|
|
|
|
#include "spot/twaalgos/totgba.hh"
|
|
|
|
|
|
#include "spot/twaalgos/toparity.hh"
|
|
|
|
|
|
#include "spot/twa/acc.hh"
|
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
|
|
|
namespace storm { |
|
|
namespace storm { |
|
@ -36,6 +39,11 @@ namespace storm { |
|
|
STORM_LOG_INFO("Construct deterministic automaton for "<< spotFormula); |
|
|
STORM_LOG_INFO("Construct deterministic automaton for "<< spotFormula); |
|
|
auto aut = trans.run(spotFormula); |
|
|
auto aut = trans.run(spotFormula); |
|
|
|
|
|
|
|
|
|
|
|
// TODO necessary for MDP LTL-MC
|
|
|
|
|
|
if(!(aut->get_acceptance().is_dnf())){ |
|
|
|
|
|
aut->set_acceptance(aut->get_acceptance().to_dnf()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
std::stringstream autStream; |
|
|
std::stringstream autStream; |
|
|
// Print reachable states in HOA format, implicit edges (i), state-based acceptance (s)
|
|
|
// Print reachable states in HOA format, implicit edges (i), state-based acceptance (s)
|
|
|
spot::print_hoa(autStream, aut, "is"); |
|
|
spot::print_hoa(autStream, aut, "is"); |
|
|