simulation: take a tgba_digraph as input

Issue #45.

* src/tgbaalgos/simulation.cc, src/tgbaalgos/simulation.hh: Take
a tgba_digraph is input.
* src/tgbatest/ltl2tgba.cc: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2015-01-19 18:07:59 +01:00
parent 0159027395
commit 64469f3dbd
3 changed files with 78 additions and 80 deletions

View file

@ -68,8 +68,10 @@ namespace spot
/// \param automaton the automaton to simulate.
/// \return a new automaton which is at worst a copy of the received
/// one
SPOT_API tgba_digraph_ptr simulation(const const_tgba_ptr& automaton);
SPOT_API tgba_digraph_ptr simulation_sba(const const_tgba_ptr& automaton);
SPOT_API tgba_digraph_ptr
simulation(const const_tgba_digraph_ptr& automaton);
SPOT_API tgba_digraph_ptr
simulation_sba(const const_tgba_digraph_ptr& automaton);
/// @}
/// @{
@ -119,8 +121,10 @@ namespace spot
/// \param automaton the automaton to simulate.
/// \return a new automaton which is at worst a copy of the received
/// one
SPOT_API tgba_digraph_ptr cosimulation(const const_tgba_ptr& automaton);
SPOT_API tgba_digraph_ptr cosimulation_sba(const const_tgba_ptr& automaton);
SPOT_API tgba_digraph_ptr
cosimulation(const const_tgba_digraph_ptr& automaton);
SPOT_API tgba_digraph_ptr
cosimulation_sba(const const_tgba_digraph_ptr& automaton);
/// @}
/// @{
@ -139,9 +143,9 @@ namespace spot
/// \return a new automaton which is at worst a copy of the received
/// one
SPOT_API tgba_digraph_ptr
iterated_simulations(const const_tgba_ptr& automaton);
iterated_simulations(const const_tgba_digraph_ptr& automaton);
SPOT_API tgba_digraph_ptr
iterated_simulations_sba(const const_tgba_ptr& automaton);
iterated_simulations_sba(const const_tgba_digraph_ptr& automaton);
/// @}
} // End namespace spot.