Adapt ltlsynt
Using the new flexibility for solving and converting of mealy machines and aiger circuits * bin/ltlsynt.cc: here
This commit is contained in:
parent
5b6e2a210a
commit
929ffc4176
1 changed files with 13 additions and 4 deletions
|
|
@ -408,6 +408,12 @@ namespace
|
||||||
spot::mealy_like ml;
|
spot::mealy_like ml;
|
||||||
ml.success =
|
ml.success =
|
||||||
spot::mealy_like::realizability_code::REALIZABLE_REGULAR;
|
spot::mealy_like::realizability_code::REALIZABLE_REGULAR;
|
||||||
|
if (opt_print_aiger)
|
||||||
|
// we do not care about the type,
|
||||||
|
// machine to aiger can handle it
|
||||||
|
ml.mealy_like =
|
||||||
|
spot::solved_game_to_mealy(arena, *gi);
|
||||||
|
else
|
||||||
ml.mealy_like =
|
ml.mealy_like =
|
||||||
spot::solved_game_to_separated_mealy(arena, *gi);
|
spot::solved_game_to_separated_mealy(arena, *gi);
|
||||||
ml.glob_cond = bddfalse;
|
ml.glob_cond = bddfalse;
|
||||||
|
|
@ -452,6 +458,9 @@ namespace
|
||||||
delta = sw_direct.stop();
|
delta = sw_direct.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If our goal is to have an aiger,
|
||||||
|
// we can use split or separated machines
|
||||||
|
if (!opt_print_aiger)
|
||||||
// Unsplit to have separated mealy
|
// Unsplit to have separated mealy
|
||||||
m_like.mealy_like = unsplit_mealy(m_like.mealy_like);
|
m_like.mealy_like = unsplit_mealy(m_like.mealy_like);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue