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
|
|
@ -93,10 +93,10 @@ main(int argc, char** argv)
|
|||
if (fpos->is_ltl_formula())
|
||||
{
|
||||
auto apos =
|
||||
scc_filter(make_tgba_digraph(ltl_to_taa(fpos, d),
|
||||
scc_filter(make_twa_graph(ltl_to_taa(fpos, d),
|
||||
spot::twa::prop_set::all()));
|
||||
auto aneg =
|
||||
scc_filter(make_tgba_digraph(ltl_to_taa(fneg, d),
|
||||
scc_filter(make_twa_graph(ltl_to_taa(fneg, d),
|
||||
spot::twa::prop_set::all()));
|
||||
if (!spot::product(apos, aneg)->is_empty())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ int main(int argc, char* argv[])
|
|||
auto h = spot::hoa_parse(file, pel, dict, env);
|
||||
if (spot::format_hoa_parse_errors(std::cerr, file, pel))
|
||||
return 2;
|
||||
spot::tgba_digraph_ptr a = h->aut;
|
||||
spot::twa_graph_ptr a = h->aut;
|
||||
|
||||
spot::tgba_ptr complement = 0;
|
||||
|
||||
|
|
@ -163,7 +163,7 @@ int main(int argc, char* argv[])
|
|||
}
|
||||
else if (stats)
|
||||
{
|
||||
spot::tgba_digraph_ptr a;
|
||||
spot::twa_graph_ptr a;
|
||||
const spot::ltl::formula* f1 = 0;
|
||||
|
||||
if (formula)
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ main(int argc, char** argv)
|
|||
auto a = spot::ltl_to_taa(f, d);
|
||||
aut[0] = a;
|
||||
auto all = spot::twa::prop_set::all();
|
||||
aut[1] = spot::degeneralize_tba(spot::make_tgba_digraph(a, all));
|
||||
aut[1] = spot::degeneralize_tba(spot::make_twa_graph(a, all));
|
||||
}
|
||||
{
|
||||
auto a = spot::ltl_to_tgba_fm(f, d);
|
||||
|
|
|
|||
|
|
@ -309,12 +309,12 @@ to_int(const char* s)
|
|||
return res;
|
||||
}
|
||||
|
||||
spot::tgba_digraph_ptr ensure_digraph(const spot::tgba_ptr& a)
|
||||
spot::twa_graph_ptr ensure_digraph(const spot::tgba_ptr& a)
|
||||
{
|
||||
auto aa = std::dynamic_pointer_cast<spot::tgba_digraph>(a);
|
||||
auto aa = std::dynamic_pointer_cast<spot::twa_graph>(a);
|
||||
if (aa)
|
||||
return aa;
|
||||
return spot::make_tgba_digraph(a, spot::twa::prop_set::all());
|
||||
return spot::make_twa_graph(a, spot::twa::prop_set::all());
|
||||
}
|
||||
|
||||
int
|
||||
|
|
@ -1289,7 +1289,7 @@ checked_main(int argc, char** argv)
|
|||
if (scc_filter && (reduction_dir_sim || reduction_rev_sim))
|
||||
{
|
||||
tm.start("SCC-filter post-sim");
|
||||
auto aa = std::dynamic_pointer_cast<const spot::tgba_digraph>(a);
|
||||
auto aa = std::dynamic_pointer_cast<const spot::twa_graph>(a);
|
||||
assert(aa);
|
||||
// Do not filter_all for SBA
|
||||
a = spot::scc_filter(aa, assume_sba ?
|
||||
|
|
@ -1495,7 +1495,7 @@ checked_main(int argc, char** argv)
|
|||
case 10:
|
||||
{
|
||||
auto aa =
|
||||
std::dynamic_pointer_cast<const spot::tgba_digraph>(a);
|
||||
std::dynamic_pointer_cast<const spot::twa_graph>(a);
|
||||
if (!aa)
|
||||
dump_scc_dot(a, std::cout, false);
|
||||
else
|
||||
|
|
@ -1504,8 +1504,8 @@ checked_main(int argc, char** argv)
|
|||
break;
|
||||
case 11:
|
||||
{
|
||||
//const spot::tgba_digraph_ptr g =
|
||||
// dynamic_cast<const spot::tgba_digraph_ptr>(a);
|
||||
//const spot::twa_graph_ptr g =
|
||||
// dynamic_cast<const spot::twa_graph_ptr>(a);
|
||||
//if (!g)
|
||||
dump_scc_dot(a, std::cout, true);
|
||||
//else
|
||||
|
|
|
|||
|
|
@ -83,8 +83,8 @@ const char* default_algos[] = {
|
|||
std::vector<ec_algo> ec_algos;
|
||||
|
||||
spot::emptiness_check_ptr
|
||||
cons_emptiness_check(int num, spot::const_tgba_digraph_ptr a,
|
||||
const spot::const_tgba_digraph_ptr& degen,
|
||||
cons_emptiness_check(int num, spot::const_twa_graph_ptr a,
|
||||
const spot::const_twa_graph_ptr& degen,
|
||||
unsigned int n_acc)
|
||||
{
|
||||
auto inst = ec_algos[num].inst;
|
||||
|
|
@ -579,8 +579,8 @@ main(int argc, char** argv)
|
|||
|
||||
bool stop_on_first_difference = false;
|
||||
|
||||
spot::tgba_digraph_ptr formula = nullptr;
|
||||
spot::tgba_digraph_ptr product = nullptr;
|
||||
spot::twa_graph_ptr formula = nullptr;
|
||||
spot::twa_graph_ptr product = nullptr;
|
||||
|
||||
spot::option_map options;
|
||||
|
||||
|
|
@ -909,7 +909,7 @@ main(int argc, char** argv)
|
|||
spot::srand(opt_ec_seed);
|
||||
|
||||
|
||||
spot::tgba_digraph_ptr a =
|
||||
spot::twa_graph_ptr a =
|
||||
spot::random_graph(opt_n, opt_d, apf, dict,
|
||||
opt_n_acc, opt_a, opt_t, opt_det);
|
||||
if (formula)
|
||||
|
|
@ -928,7 +928,7 @@ main(int argc, char** argv)
|
|||
}
|
||||
else
|
||||
{
|
||||
spot::tgba_digraph_ptr degen = nullptr;
|
||||
spot::twa_graph_ptr degen = nullptr;
|
||||
if (opt_degen && real_n_acc > 1)
|
||||
degen = degeneralize_tba(a);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue