synthesis: rename create_game() to ltl_to_game()

* bin/ltlsynt.cc, spot/twaalgos/aiger.hh, spot/twaalgos/synthesis.cc,
spot/twaalgos/synthesis.hh, tests/python/synthesis.ipynb,
tests/python/synthesis.py: Here.
This commit is contained in:
Alexandre Duret-Lutz 2021-10-18 09:17:40 +02:00
parent 5fd4d94031
commit c43712682f
6 changed files with 25 additions and 31 deletions

View file

@ -19,16 +19,16 @@
import spot
# A shared variable caused the 2nd call to create_game to give an incorrect
# A shared variable caused the 2nd call to ltl_to_game to give an incorrect
# result.
for i in range(0, 2):
gi = spot.synthesis_info()
gi.s = spot.synthesis_info.algo_LAR
game = spot.create_game("(Ga) <-> (Fb)", ["b"], gi)
game = spot.ltl_to_game("(Ga) <-> (Fb)", ["b"], gi)
assert not spot.solve_game(game)
# A game can have only inputs
game = spot.create_game("GFa", [])
game = spot.ltl_to_game("GFa", [])
assert(game.to_str() == """HOA: v1
States: 3
Start: 0