22 #include "twa/twagraph.hh"
23 #include "misc/location.hh"
24 #include "ltlenv/defaultenv.hh"
29 #include <misc/bitvect.hh>
41 enum dstar_type { Rabin, Streett };
68 typedef std::shared_ptr<dstar_aut> dstar_aut_ptr;
69 typedef std::shared_ptr<const dstar_aut> const_dstar_aut_ptr;
88 SPOT_API dstar_aut_ptr
90 dstar_parse_error_list& error_list,
91 const bdd_dict_ptr& dict,
103 const std::string& filename,
104 dstar_parse_error_list& error_list);
109 SPOT_API twa_graph_ptr
116 SPOT_API twa_graph_ptr
117 nra_to_nba(
const const_dstar_aut_ptr& nra,
const state_set* ignore);
135 SPOT_API twa_graph_ptr
136 dra_to_ba(
const const_dstar_aut_ptr& dra,
bool* dba_output = 0);
140 SPOT_API twa_graph_ptr
146 SPOT_API twa_graph_ptr
SPOT_API twa_graph_ptr nra_to_nba(const const_dstar_aut_ptr &nra, const state_set *ignore)
Convert a non-deterministic Rabin automaton into a non-deterministic Büchi automaton.
SPOT_API twa_graph_ptr nsa_to_tgba(const const_dstar_aut_ptr &nra)
Convert a non-deterministic Streett automaton into a non-deterministic tgba.
Definition: bitvect.hh:460
SPOT_API twa_graph_ptr dstar_to_tgba(const const_dstar_aut_ptr &dstar)
Convert a Rabin or Streett automaton into a TGBA.
size_t accpair_count
Number of acceptance pairs.
Definition: public.hh:53
SPOT_API bool format_dstar_parse_errors(std::ostream &os, const std::string &filename, dstar_parse_error_list &error_list)
Format diagnostics produced by spot::dstar_parse.
bitvect_array * accsets
acceptance sets encoded as 2*num_state bit-vectors of num_pairs bits
Definition: public.hh:60
dstar_type type
Type of the acceptance.
Definition: public.hh:51
Temporary encoding of an omega automaton produced by ltl2dstar.
Definition: public.hh:45
SPOT_API twa_graph_ptr dra_to_ba(const const_dstar_aut_ptr &dra, bool *dba_output=0)
Convert a deterministic Rabin automaton into a Büchi automaton, deterministic when possible...
std::pair< spot::location, std::string > dstar_parse_error
A parse diagnostic with its location.
Definition: public.hh:37
std::list< dstar_parse_error > dstar_parse_error_list
A list of parser diagnostics, as filled by parse.
Definition: public.hh:39
SPOT_API dstar_aut_ptr dstar_parse(const std::string &filename, dstar_parse_error_list &error_list, const bdd_dict_ptr &dict, ltl::environment &env=ltl::default_environment::instance(), bool debug=false)
Build a spot::twa_graph from ltl2dstar's output.
static default_environment & instance()
Get the sole instance of spot::ltl::default_environment.