is_weak_scc and friend: make them work for alternating automata
* spot/twaalgos/isweakscc.cc, spot/twaalgos/isweakscc.hh, spot/twaalgos/mask.cc, spot/twaalgos/mask.hh: Adjust to work with alternating automata. * spot/twaalgos/sccinfo.cc, spot/twaalgos/sccinfo.hh (determine_unknown_acceptance): Do not complain about not supporting alternating automata if there is not indeterminate acceptance. * spot/twaalgos/stats.cc: Fix a bug were %[iw]c was read as %[iww]c. * tests/core/alternating.test: Test is_inherently_weak_scc() and is_weak_scc(). * python/spot/impl.i: Add missing python bindings for isweakscc.hh.
This commit is contained in:
parent
e041db6101
commit
223b0c6a9e
9 changed files with 154 additions and 61 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2012, 2013, 2014 Laboratoire de Recherche et
|
||||
// Copyright (C) 2012, 2013, 2014, 2017 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
|
|
@ -54,7 +54,9 @@ namespace spot
|
|||
/// \brief Whether the SCC number \a scc in \a map is complete.
|
||||
///
|
||||
/// An SCC is complete iff for all states and all label there exists
|
||||
/// a transition that stays into this SCC.
|
||||
/// a transition that stays into this SCC. For this function,
|
||||
/// universal transitions are considered in the SCC if all there
|
||||
/// destination are into the SCC.
|
||||
SPOT_API bool
|
||||
is_complete_scc(scc_info& map, unsigned scc);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue