* src/tgbaalgos/dottydec.cc, src/tgbaalgos/dottydec.hh,
src/tgbaalgos/rundotdec.cc, src/tgbaalgos/rundotdec.hh: New files. * src/tgbaalgos/Makefile.am (tgbaalgos_HEADERS, libtgbaalgos_la_SOURCES): Add them. * src/tgbaalgos/dotty.hh (dotty_reachable): Take a dotty_decorator as third parameter. * src/tgbaalgos/dotty.cc (dotty_bfs::process_state, dotty_bfs::process_link): Use the decorator. * src/tgbatest/ltl2tgba.cc: Graph the accepting run if the -g option is given. * src/tgbatest/emptchk.test: Exercize -g.
This commit is contained in:
parent
a90b0648f8
commit
7688431451
10 changed files with 434 additions and 32 deletions
|
|
@ -22,13 +22,18 @@
|
|||
#ifndef SPOT_TGBAALGOS_DOTTY_HH
|
||||
# define SPOT_TGBAALGOS_DOTTY_HH
|
||||
|
||||
#include "tgba/tgba.hh"
|
||||
#include "dottydec.hh"
|
||||
#include <iosfwd>
|
||||
|
||||
namespace spot
|
||||
{
|
||||
class tgba;
|
||||
|
||||
/// \brief Print reachable states in dot format.
|
||||
std::ostream& dotty_reachable(std::ostream& os, const tgba* g);
|
||||
std::ostream&
|
||||
dotty_reachable(std::ostream& os,
|
||||
const tgba* g,
|
||||
dotty_decorator* dd = dotty_decorator::instance());
|
||||
}
|
||||
|
||||
#endif // SPOT_TGBAALGOS_DOTTY_HH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue