rename game_info to synthesis_info; move it with the synthesis code

* spot/twaalgos/game.cc, spot/twaalgos/game.hh (game_info): Move...
* spot/twaalgos/synthesis.cc,
spot/twaalgos/synthesis.hh (synthesis_info): ... here, because this
structure contains only synthesis stuff.  Also rename "solver" to
"algo" to match the ltlsynt option.
(solve_game): Move the two argument version of this function here,
since that's the only game-related generic function that use
synthesis_info.
* bin/ltlsynt.cc, tests/core/ltlsynt.test, tests/python/games.ipynb,
tests/python/synthesis.py, NEWS: Adjust all uses and mentions.
This commit is contained in:
Alexandre Duret-Lutz 2021-10-06 22:51:10 +02:00
parent 0ac5bbc05d
commit bdd20bd1a1
9 changed files with 217 additions and 225 deletions

8
NEWS
View file

@ -57,10 +57,10 @@ New in spot 2.9.8.dev (not yet released)
- autfilt learned a --kill-states=NUM[,NUM...] option.
Library:
- Spot now provides convenient function to create and solve game.
The functions are located in twaalgos/game.hh and
twaalgos/synthesis.hh. Moreover a new structure holding
all the necessary options called game_info is now available.
- Spot now provides convenient function to create and solve games.
The functions are located in twaalgos/game.hh. Additional
functions related to the application to reactive synthesis are
in twaalgos/synthesis.hh.
- A new class called aig is introduced to represent
and-inverter-graphs, which is useful for synthesis.