Introduce -ks to print only the size of the automaton (without

SCC information).

* src/tgbatest/ltl2tgba.cc (syntax, main): Add a -ks option.
* src/tgbatest/ltl2tgba.test, bench/ltlclasses/run,
bench/ltlcounter/run: Use -ks instead of -k to speed things up.
This commit is contained in:
Alexandre Duret-Lutz 2010-12-10 10:02:53 +01:00
parent 3e7debe53e
commit 1dd524ebce
5 changed files with 28 additions and 10 deletions

View file

@ -243,7 +243,9 @@ syntax(char* prog)
<< std::endl
<< " -FC dump the automaton showing future conditions on states"
<< std::endl
<< " -k display statistics on the automaton of dumping it"
<< " -k display statistics on the automaton (size and SCCs)"
<< std::endl
<< " -ks display statistics on the automaton (size only)"
<< std::endl
<< " -K dump the graph of SCCs in dot format" << std::endl
<< " -KV verbosely dump the graph of SCCs in dot format"
@ -467,6 +469,10 @@ main(int argc, char** argv)
{
output = 9;
}
else if (!strcmp(argv[formula_index], "-ks"))
{
output = 12;
}
else if (!strcmp(argv[formula_index], "-K"))
{
output = 10;
@ -1067,6 +1073,9 @@ main(int argc, char** argv)
case 11:
dump_scc_dot(a, std::cout, true);
break;
case 12:
stats_reachable(a).dump(std::cout);
break;
default:
assert(!"unknown output option");
}