monitor: fix -MD/-M difference in property output
Fixes #241. * spot/twaalgos/postproc.cc: Use the deterministic monitor if it has as many states as the non-deterministic one. * spot/twaalgos/minimize.cc (minimize_monitor): Quickly check for terminal automata. * spot/twaalgos/stripacc.cc: Set the weak property. * spot/twaalgos/stripacc.hh: Improve documentation. * tests/core/monitor.test, tests/core/sbacc.test: Update. * NEWS: Mention the issue.
This commit is contained in:
parent
3699e6cd0c
commit
a66e7704d8
7 changed files with 37 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2012, 2013, 2014 Laboratoire de Recherche et
|
||||
// Copyright (C) 2012-2014, 2017 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
|
|
@ -26,7 +26,9 @@ namespace spot
|
|||
/// \ingroup twa_misc
|
||||
/// \brief Remove all acceptance sets from a twa_graph.
|
||||
///
|
||||
/// This is equivalent to marking all states/transitions as accepting.
|
||||
/// This will also set the acceptance condition to true, and mark
|
||||
/// the automaton as weak. Doing so obviously makes all recognized
|
||||
/// infinite runs accepting.
|
||||
SPOT_API void
|
||||
strip_acceptance_here(twa_graph_ptr a);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue