* src/tgbaalgos/minimizerun.hh, src/tgbaalgos/minimizerun.cc: New
files. * src/tgbaalgos/Makefile.am (tgbaalgos_HEADERS, libtgbaalgos_la_SOURCES): Add them/ * src/tgbatest/randtgba.cc, src/tgbatest/ltl2tgba.cc: Add option -m. * src/tgbatest/emptchkr.test: Use -m.
This commit is contained in:
parent
15329c5618
commit
6724f4bfbb
7 changed files with 392 additions and 90 deletions
37
src/tgbaalgos/minimizerun.hh
Normal file
37
src/tgbaalgos/minimizerun.hh
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
// Copyright (C) 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
// et Marie Curie.
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
//
|
||||
// Spot is free software; you can redistribute it and/or modify it
|
||||
// under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation; either version 2 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Spot is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
||||
// License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Spot; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
// 02111-1307, USA.
|
||||
|
||||
#ifndef SPOT_TGBAALGOS_MINIMIZERUN_HH
|
||||
# define SPOT_TGBAALGOS_MINIMIZERUN_HH
|
||||
|
||||
namespace spot
|
||||
{
|
||||
class tgba;
|
||||
class tgba_run;
|
||||
|
||||
/// \brief Minimize an accepting run.
|
||||
///
|
||||
/// Return a run which is accepting for \a and that is no longer
|
||||
/// that \a org.
|
||||
tgba_run* minimize_run(const tgba* a, const tgba_run* org);
|
||||
}
|
||||
|
||||
#endif // SPOT_TGBAALGOS_MINIMIZERUN_HH
|
||||
Loading…
Add table
Add a link
Reference in a new issue