20 #ifndef SPOT_DSTARPARSE_PUBLIC_HH
21 # define SPOT_DSTARPARSE_PUBLIC_HH
23 # include "tgba/tgbaexplicit.hh"
24 # include "misc/location.hh"
25 # include "ltlenv/defaultenv.hh"
30 # include <misc/bitvect.hh>
42 enum dstar_type { Rabin, Streett };
103 const std::string& filename,
117 nra_to_nba(
const dstar_aut* nra,
const state_set* ignore);
136 dra_to_ba(
const dstar_aut* dra,
bool* dba_output = 0);
153 #endif // SPOT_DSTARPARSE_PUBLIC_HH
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.
Definition: bitvect.hh:429
size_t accpair_count
Number of acceptance pairs.
Definition: public.hh:54
SPOT_API tgba * dra_to_ba(const dstar_aut *dra, bool *dba_output=0)
Convert a deterministic Rabin automaton into a Büchi automaton, deterministic when possible...
Definition: tgbaexplicit.hh:758
std::pair< spot::location, std::string > dstar_parse_error
A parse diagnostic with its location.
Definition: public.hh:38
bitvect_array * accsets
acceptance sets encoded as 2*num_state bit-vectors of num_pairs bits
Definition: public.hh:61
dstar_type type
Type of the acceptance.
Definition: public.hh:52
Temporary encoding of an omega automaton produced by ltl2dstar.
Definition: public.hh:46
SPOT_API tgba * nra_to_nba(const dstar_aut *nra)
Convert a non-deterministic Rabin automaton into a non-deterministic Büchi automaton.
SPOT_API tgba * dstar_to_tgba(const dstar_aut *dstar)
Convert a Rabin or Streett automaton into a TGBA.
static default_environment & instance()
Get the sole instance of spot::ltl::default_environment.
std::list< dstar_parse_error > dstar_parse_error_list
A list of parser diagnostics, as filled by parse.
Definition: public.hh:40
SPOT_API dstar_aut * dstar_parse(const std::string &filename, dstar_parse_error_list &error_list, bdd_dict *dict, ltl::environment &env=ltl::default_environment::instance(), bool debug=false)
Build a spot::tgba_explicit from ltl2dstar's output.
SPOT_API tgba * nsa_to_tgba(const dstar_aut *nra)
Convert a non-deterministic Streett automaton into a non-deterministic tgba.