ltlsynt: Add more elements in csv
* bin/ltlsynt.cc: Add the number of states of the dpa and of the parity game in the csv.
This commit is contained in:
parent
7c09f64c49
commit
8ac24acbf8
1 changed files with 9 additions and 2 deletions
|
|
@ -135,6 +135,8 @@ static double paritize_time = 0.0;
|
|||
static double bgame_time = 0.0;
|
||||
static double solve_time = 0.0;
|
||||
static double strat2aut_time = 0.0;
|
||||
static unsigned nb_states_dpa = 0;
|
||||
static unsigned nb_states_parity_game = 0;
|
||||
|
||||
enum solver
|
||||
{
|
||||
|
|
@ -318,7 +320,8 @@ namespace
|
|||
out << ",\"strat2aut_time\"";
|
||||
out << ",\"realizable\"";
|
||||
}
|
||||
out << '\n';
|
||||
out << ",\"dpa_num_states\",\"parity_game_num_states\""
|
||||
<< '\n';
|
||||
}
|
||||
std::ostringstream os;
|
||||
os << f;
|
||||
|
|
@ -335,7 +338,9 @@ namespace
|
|||
out << ',' << strat2aut_time;
|
||||
out << ',' << realizable;
|
||||
}
|
||||
out << '\n';
|
||||
out << ',' << nb_states_dpa
|
||||
<< ',' << nb_states_parity_game
|
||||
<< '\n';
|
||||
outf.close(opt_csv);
|
||||
}
|
||||
|
||||
|
|
@ -532,6 +537,7 @@ namespace
|
|||
break;
|
||||
}
|
||||
}
|
||||
nb_states_dpa = dpa->num_states();
|
||||
if (want_time)
|
||||
sw.start();
|
||||
auto owner = complete_env(dpa);
|
||||
|
|
@ -557,6 +563,7 @@ namespace
|
|||
solve_time = sw.stop();
|
||||
if (verbose)
|
||||
std::cerr << "parity game solved in " << solve_time << " seconds\n";
|
||||
nb_states_parity_game = pg.num_states();
|
||||
timer.stop();
|
||||
if (winning_region[1].count(pg.get_init_state_number()))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue