various typos
* bench/dtgbasat/gen.py, spot/twaalgos/complement.hh: Fix looser->loser and lossing->losing. * tests/sanity/style.test: Catch 'an uni[^n]'. * spot/ta/ta.hh, spot/taalgos/tgba2ta.cc, spot/taalgos/tgba2ta.hh, spot/twa/twagraph.cc, spot/twaalgos/complement.hh, spot/twaalgos/sccinfo.cc: Fix various occurences of this pattern.
This commit is contained in:
parent
b910330a78
commit
1ed6e518dd
8 changed files with 17 additions and 18 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2010, 2012, 2013, 2014, 2015, 2016 Laboratoire de Recherche et
|
||||
// Copyright (C) 2010, 2012-2017 Laboratoire de Recherche et
|
||||
// Developpement de l Epita (LRDE).
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
|
|
@ -99,7 +99,7 @@ namespace spot
|
|||
/// \brief Get the artificial initial state set of the automaton.
|
||||
/// Return 0 if this artificial state is not implemented
|
||||
/// (in this case, use \c get_initial_states_set)
|
||||
/// The aim of adding this state is to have an unique initial state. This
|
||||
/// The aim of adding this state is to have a unique initial state. This
|
||||
/// artificial initial state have one transition to each real initial state,
|
||||
/// and this transition is labeled by the corresponding initial condition.
|
||||
/// (For more details, see the paper cited above)
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ namespace spot
|
|||
&& (!dest->is_accepting_state()) && (!dest_trans_empty))
|
||||
transitions_to_livelock_states->push_front(*it_trans);
|
||||
|
||||
// optimization to have, after minimization, an unique
|
||||
// optimization to have, after minimization, a unique
|
||||
// livelock state which has no successors
|
||||
if (dest->is_livelock_accepting_state() && (dest_trans_empty))
|
||||
dest->set_accepting_state(false);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2010, 2012, 2013, 2014, 2015 Laboratoire de Recherche et
|
||||
// Copyright (C) 2010, 2012-2015, 2017 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
|
|
@ -58,7 +58,7 @@ namespace spot
|
|||
/// for TA (spot::ta_check::check) can also be used to check GTA.
|
||||
///
|
||||
/// \param artificial_initial_state_mode When set, the algorithm will build
|
||||
/// a TA automaton with an unique initial state. This
|
||||
/// a TA automaton with a unique initial state. This
|
||||
/// artificial initial state have one transition to each real initial state,
|
||||
/// and this transition is labeled by the corresponding initial condition.
|
||||
/// (see spot::ta::get_artificial_initial_state())
|
||||
|
|
|
|||
|
|
@ -449,7 +449,7 @@ namespace spot
|
|||
// calling graph::degrag_states() to finish with #1. We clear
|
||||
// the "dests vector" of the current automaton, recreate all
|
||||
// the new destination groups using a univ_dest_mapper to
|
||||
// simplify an unify them, and extend newst with some new
|
||||
// simplify and unify them, and extend newst with some new
|
||||
// entries that will point the those new universal destination
|
||||
// so that graph::defrag_states() does not have to deal with
|
||||
// universal destination in any way.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2013, 2014, 2015 Laboratoire de Recherche et Développement
|
||||
// de l'Epita.
|
||||
// Copyright (C) 2013-2015, 2017 Laboratoire de Recherche et
|
||||
// Développement de l'Epita.
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
//
|
||||
|
|
@ -35,7 +35,7 @@ namespace spot
|
|||
///
|
||||
/// Functions like to_generalized_buchi() or remove_fin() are
|
||||
/// frequently called after dtwa_complement() to obtain an easier
|
||||
/// acceptance condition (maybe at the cost of loosing determinism.)
|
||||
/// acceptance condition (maybe at the cost of losing determinism.)
|
||||
SPOT_API twa_graph_ptr
|
||||
dtwa_complement(const const_twa_graph_ptr& aut);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ namespace spot
|
|||
unsigned dest = e.dst;
|
||||
if ((int) dest < 0)
|
||||
{
|
||||
// Iterate over all destinations of an universal edge.
|
||||
// Iterate over all destinations of a universal edge.
|
||||
if (todo_.top().univ_pos == 0)
|
||||
todo_.top().univ_pos = ~dest + 1;
|
||||
const auto& v = gr.dests_vector();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue