slights documentation changes around direct simulation

* src/tgbaalgos/simulation.hh: Mention the fact that this is
a "direct" simulation.
* wrap/python/ajax/ltl2tgba.html: Likewise, and change the key
to "ds".
* wrap/python/ajax/protocol.txt, wrap/python/ajax/spot.in: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2012-04-27 15:51:20 +02:00
parent cdd576458c
commit 7ba4ab7931
4 changed files with 15 additions and 16 deletions

View file

@ -30,13 +30,12 @@ namespace spot
/// \addtogroup tgba_reduction
/// @{
/// \brief Tries to reduce the automaton by merging states whose
/// recognizes similar language.
/// \brief Attempt to reduce the automaton by direct simulation
///
/// When the language recognized by one state is included in the
/// language recognized by an another one, the first one is merged
/// with the second. The algorithm is based on the following
/// paper:
/// paper, but generalized to handled TGBA directly.
///
/// \verbatim
/// @InProceedings{ etessami.00.concur,
@ -54,9 +53,9 @@ namespace spot
/// }
/// \endverbatim
///
/// \param automaton The automaton to simulate.
/// \param automaton the automaton to simulate.
/// \return a new automaton which is at worst a copy of the received
/// one.
/// one
tgba* simulation(const tgba* automaton);
/// @}

View file

@ -445,8 +445,8 @@ an identifier: <span class="formula">aUb</span> is an atomic proposition, unlike
<INPUT type="checkbox" name="as" value="wd">
minimize obligation properties
</label><br>
<label class="rtip" title="<b>Direct Simulation</b> tries to reduce the automaton with simulation reduction.">
<INPUT type="checkbox" name="as" value="rs">
<label class="rtip" title="Attempt to reduce the automaton by using <b>direct simulation</b>. This might also improve the determinism as a side effect.">
<INPUT type="checkbox" name="as" value="ds">
direct simulation
</label><br>

View file

@ -71,4 +71,4 @@ Automaton simplifications (pick many)
as=ps Prune SCC
as=wd WDBA minimiztion
as=rs Simulation reduction
as=ds Direct Simulation reduction

View file

@ -411,14 +411,14 @@ if output_type == 'm':
# Automaton simplifications
prune_scc = False
wdba_minimize = False
simul_minimize = False
direct_simul = False
for s in form.getlist('as'):
if s == 'ps':
prune_scc = True
elif s == 'wd':
wdba_minimize = True
elif s == 'rs':
simul_minimize = True
elif s == 'ds':
direct_simul = True
if output_type == 'a':
buchi_type = form.getfirst('af', 't')
@ -450,9 +450,9 @@ if wdba_minimize:
minimized = 0
degen = False # No need to degeneralize anymore
issba = True
simul_minimize = False # No need to simulate anymore
direct_simul = False # No need to simulate anymore
if simul_minimize:
if direct_simul:
automaton = spot.simulation(automaton)
if degen or neverclaim: