dotty.hh 1.76 KB
Newer Older
1
// -*- coding: utf-8 -*-
2 3
// Copyright (C) 2011, 2012, 2013, 2014, 2015 Laboratoire de Recherche
// et Developpement de l'Epita (LRDE).
4
// Copyright (C) 2003, 2004  Laboratoire d'Informatique de Paris 6 (LIP6),
5
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
6 7 8 9 10 11
// 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
12
// the Free Software Foundation; either version 3 of the License, or
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
13 14 15 16 17 18 19 20
// (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
21
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
22

23
#pragma once
24

25 26 27
#include <iosfwd>
#include <tgba/fwd.hh>
#include "misc/common.hh"
28 29 30

namespace spot
{
31
  /// \ingroup tgba_io
32
  /// \brief Print reachable states in dot format.
33
  ///
34
  /// If \a assume_sba is set, this assumes that the automaton
35 36
  /// is an SBA and use double elipse to mark accepting states.
  ///
37 38 39 40
  /// \param options an optional string of letters, each indicating a
  /// different option.  Presently the following options are
  /// supported: 'v' for vertical output, 'h' for horizontal output,
  /// 't' force transition-based acceptance, 'N' hide the name of the
41 42
  /// automaton, 'n' shows the name, 'c' uses circle-shaped states,
  /// 'a' shows the acceptance.
43
  SPOT_API std::ostream&
44
  dotty_reachable(std::ostream& os,
45
		  const const_twa_ptr& g,
46
		  const char* options = nullptr);
47
}