* src/tgbaalgos/replayrun.cc, src/tgbaalgos/replayrun.hh: New files.
Cannot test them because the run returned by the emptiness checks are currently incomplete (they lack the acceptance conditions, and sometimes even the labels in the prefix). * src/tgbaalgos/Makefile.am (tgbaalgos_HEADERS, libtgbaalgos_la_SOURCES): Add them. * src/tgbatest/ltl2tgba.cc (main): Prepare to use replay_tgba_run when the emptiness checks are fixed.
This commit is contained in:
parent
6c815004c4
commit
7819f14db2
5 changed files with 182 additions and 1 deletions
41
src/tgbaalgos/replayrun.hh
Normal file
41
src/tgbaalgos/replayrun.hh
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
// 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_REPLAYRUN_HH
|
||||
# define SPOT_TGBAALGOS_REPLAYRUN_HH
|
||||
|
||||
#include <iosfwd>
|
||||
|
||||
namespace spot
|
||||
{
|
||||
struct tgba_run;
|
||||
class tgba;
|
||||
|
||||
/// \brief Replay a tgba_run on a tgba.
|
||||
///
|
||||
/// \param run the run to replay
|
||||
/// \param a the automata on which to replay that run
|
||||
/// \param os the stream on which the replay should be traced
|
||||
/// \return true iff the run could be completed
|
||||
bool replay_tgba_run(std::ostream& os, const tgba* a, const tgba_run* run);
|
||||
}
|
||||
|
||||
#endif // SPOT_TGBAALGOS_REPLAYRUN_HH
|
||||
Loading…
Add table
Add a link
Reference in a new issue