rename tgba_digraph as twa_graph
Automatic mass renaming. * src/bin/autfilt.cc, src/bin/common_aoutput.cc, src/bin/common_aoutput.hh, src/bin/common_conv.cc, src/bin/common_conv.hh, src/bin/common_output.hh, src/bin/dstar2tgba.cc, src/bin/ltlcross.cc, src/bin/ltldo.cc, src/bin/randaut.cc, src/dstarparse/dra2ba.cc, src/dstarparse/dstar2tgba.cc, src/dstarparse/dstarparse.yy, src/dstarparse/nra2nba.cc, src/dstarparse/nsa2tgba.cc, src/dstarparse/public.hh, src/graphtest/tgbagraph.cc, src/hoaparse/hoaparse.yy, src/hoaparse/public.hh, src/ltlvisit/contain.hh, src/ltlvisit/exclusive.cc, src/ltlvisit/exclusive.hh, src/priv/accmap.hh, src/taalgos/minimize.cc, src/tgba/fwd.hh, src/tgba/tgba.cc, src/tgba/tgbagraph.cc, src/tgba/tgbagraph.hh, src/tgba/tgbasafracomplement.cc, src/tgba/tgbasafracomplement.hh, src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/are_isomorphic.hh, src/tgbaalgos/canonicalize.cc, src/tgbaalgos/canonicalize.hh, src/tgbaalgos/cleanacc.cc, src/tgbaalgos/cleanacc.hh, src/tgbaalgos/complete.cc, src/tgbaalgos/complete.hh, src/tgbaalgos/compsusp.cc, src/tgbaalgos/compsusp.hh, src/tgbaalgos/cycles.hh, src/tgbaalgos/degen.cc, src/tgbaalgos/degen.hh, src/tgbaalgos/dotty.cc, src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtbasat.hh, src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/dtgbacomp.hh, src/tgbaalgos/dtgbasat.cc, src/tgbaalgos/dtgbasat.hh, src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh, src/tgbaalgos/emptiness.cc, src/tgbaalgos/emptiness.hh, src/tgbaalgos/hoa.cc, src/tgbaalgos/isdet.cc, src/tgbaalgos/isdet.hh, src/tgbaalgos/lbtt.cc, src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_fm.hh, src/tgbaalgos/mask.cc, src/tgbaalgos/mask.hh, src/tgbaalgos/minimize.cc, src/tgbaalgos/minimize.hh, src/tgbaalgos/neverclaim.cc, src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh, src/tgbaalgos/powerset.cc, src/tgbaalgos/powerset.hh, src/tgbaalgos/product.cc, src/tgbaalgos/product.hh, src/tgbaalgos/randomgraph.cc, src/tgbaalgos/randomgraph.hh, src/tgbaalgos/randomize.cc, src/tgbaalgos/randomize.hh, src/tgbaalgos/relabel.cc, src/tgbaalgos/relabel.hh, src/tgbaalgos/remfin.cc, src/tgbaalgos/remfin.hh, src/tgbaalgos/remprop.cc, src/tgbaalgos/remprop.hh, src/tgbaalgos/safety.cc, src/tgbaalgos/safety.hh, src/tgbaalgos/sbacc.cc, src/tgbaalgos/sbacc.hh, src/tgbaalgos/sccfilter.cc, src/tgbaalgos/sccfilter.hh, src/tgbaalgos/sccinfo.cc, src/tgbaalgos/sccinfo.hh, src/tgbaalgos/simulation.cc, src/tgbaalgos/simulation.hh, src/tgbaalgos/stats.cc, src/tgbaalgos/stats.hh, src/tgbaalgos/stripacc.cc, src/tgbaalgos/stripacc.hh, src/tgbaalgos/stutter.cc, src/tgbaalgos/stutter.hh, src/tgbaalgos/totgba.cc, src/tgbaalgos/totgba.hh, src/tgbaalgos/translate.cc, src/tgbaalgos/translate.hh, src/tgbatest/checkpsl.cc, src/tgbatest/complementation.cc, src/tgbatest/emptchk.cc, src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc, wrap/python/spot_impl.i, wrap/python/tests/automata-io.ipynb, wrap/python/tests/automata.ipynb, wrap/python/tests/piperead.ipynb, wrap/python/tests/testingaut.ipynb: Rename tgba_digraph as twa_graph.
This commit is contained in:
parent
c2ae99e779
commit
e0bd0ad4c0
111 changed files with 523 additions and 523 deletions
|
|
@ -53,7 +53,7 @@ namespace spot
|
|||
/// \brief Automaton with Safra's tree as states.
|
||||
struct safra_tree_automaton
|
||||
{
|
||||
safra_tree_automaton(const const_tgba_digraph_ptr& sba);
|
||||
safra_tree_automaton(const const_twa_graph_ptr& sba);
|
||||
~safra_tree_automaton();
|
||||
typedef std::map<bdd, const safra_tree*, bdd_less_than> transition_list;
|
||||
typedef
|
||||
|
|
@ -66,14 +66,14 @@ namespace spot
|
|||
int get_nb_acceptance_pairs() const;
|
||||
safra_tree* get_initial_state() const;
|
||||
void set_initial_state(safra_tree* s);
|
||||
const const_tgba_digraph_ptr& get_sba(void) const
|
||||
const const_twa_graph_ptr& get_sba(void) const
|
||||
{
|
||||
return a_;
|
||||
}
|
||||
private:
|
||||
mutable int max_nb_pairs_;
|
||||
safra_tree* initial_state;
|
||||
const_tgba_digraph_ptr a_;
|
||||
const_twa_graph_ptr a_;
|
||||
};
|
||||
|
||||
/// \brief A Safra tree, used as state during the determinization
|
||||
|
|
@ -111,7 +111,7 @@ namespace spot
|
|||
int max_name() const;
|
||||
|
||||
// Operations to get successors of a tree.
|
||||
safra_tree* branch_accepting(const tgba_digraph& a);
|
||||
safra_tree* branch_accepting(const twa_graph& a);
|
||||
safra_tree* succ_create(const bdd& condition,
|
||||
cache_t& cache_transition);
|
||||
safra_tree* normalize_siblings();
|
||||
|
|
@ -313,7 +313,7 @@ namespace spot
|
|||
/// is inserted with the set of all accepting states of \c nodes
|
||||
/// as label and an unused name.
|
||||
safra_tree*
|
||||
safra_tree::branch_accepting(const tgba_digraph& a)
|
||||
safra_tree::branch_accepting(const twa_graph& a)
|
||||
{
|
||||
for (auto c: children)
|
||||
c->branch_accepting(a);
|
||||
|
|
@ -568,12 +568,12 @@ namespace spot
|
|||
{
|
||||
public:
|
||||
static safra_tree_automaton*
|
||||
create_safra_automaton(const const_tgba_digraph_ptr& a);
|
||||
create_safra_automaton(const const_twa_graph_ptr& a);
|
||||
private:
|
||||
typedef std::set<int> atomic_list_t;
|
||||
typedef std::set<bdd, bdd_less_than> conjunction_list_t;
|
||||
static void retrieve_atomics(const safra_tree* node,
|
||||
tgba_digraph_ptr sba_aut,
|
||||
twa_graph_ptr sba_aut,
|
||||
safra_tree::cache_t& cache,
|
||||
atomic_list_t& atomic_list);
|
||||
static void set_atomic_list(atomic_list_t& list, bdd condition);
|
||||
|
|
@ -584,7 +584,7 @@ namespace spot
|
|||
/// \brief The body of Safra's construction.
|
||||
safra_tree_automaton*
|
||||
safra_determinisation::create_safra_automaton
|
||||
(const const_tgba_digraph_ptr& a)
|
||||
(const const_twa_graph_ptr& a)
|
||||
{
|
||||
// initialization.
|
||||
auto sba_aut = degeneralize(a);
|
||||
|
|
@ -664,7 +664,7 @@ namespace spot
|
|||
/// of the states in the label of the node.
|
||||
void
|
||||
safra_determinisation::retrieve_atomics(const safra_tree* node,
|
||||
tgba_digraph_ptr sba_aut,
|
||||
twa_graph_ptr sba_aut,
|
||||
safra_tree::cache_t& cache,
|
||||
atomic_list_t& atomic_list)
|
||||
{
|
||||
|
|
@ -1031,7 +1031,7 @@ namespace spot
|
|||
// safra_tree_automaton
|
||||
////////////////////////
|
||||
|
||||
safra_tree_automaton::safra_tree_automaton(const const_tgba_digraph_ptr& a)
|
||||
safra_tree_automaton::safra_tree_automaton(const const_twa_graph_ptr& a)
|
||||
: max_nb_pairs_(-1), initial_state(0), a_(a)
|
||||
{
|
||||
a->get_dict()->register_all_variables_of(a, this);
|
||||
|
|
@ -1073,7 +1073,7 @@ namespace spot
|
|||
// tgba_safra_complement
|
||||
//////////////////////////
|
||||
|
||||
tgba_safra_complement::tgba_safra_complement(const const_tgba_digraph_ptr& a)
|
||||
tgba_safra_complement::tgba_safra_complement(const const_twa_graph_ptr& a)
|
||||
: twa(a->get_dict()), automaton_(a),
|
||||
safra_(safra_determinisation::create_safra_automaton(a))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue