dupexp.hh 2.18 KB
Newer Older
1
2
3
4
5
6
// -*- coding: utf-8 -*-
// Copyright (C) 2012 Laboratoire de Recherche et Développement de
// l'Epita (LRDE).
// Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de Paris
// 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
// Université Pierre et Marie Curie.
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
7
8
9
10
11
//
// 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
24
#ifndef SPOT_TGBAALGOS_DUPEXP_HH
# define SPOT_TGBAALGOS_DUPEXP_HH
25
26
27
28
29

# include "tgba/tgbaexplicit.hh"

namespace spot
{
30
31
32
  /// \brief Build an explicit automata from all states of \a aut,
  /// numbering states in bread first order as they are processed.
  /// \ingroup tgba_misc
33
  tgba_explicit_number* tgba_dupexp_bfs(const tgba* aut);
34
35
36
  /// \brief Build an explicit automata from all states of \a aut,
  /// numbering states in depth first order as they are processed.
  /// \ingroup tgba_misc
37
  tgba_explicit_number* tgba_dupexp_dfs(const tgba* aut);
Thomas Badie's avatar
Thomas Badie committed
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

  /// \brief Build an explicit automata from all states of \a aut,
  /// numbering states in bread first order as they are processed.
  /// \ingroup tgba_misc
  tgba_explicit_number*
  tgba_dupexp_bfs(const tgba* aut,
                  std::map<const state*, const state*,
                           state_ptr_less_than>& relation);
  /// \brief Build an explicit automata from all states of \a aut,
  /// numbering states in depth first order as they are processed.
  /// \ingroup tgba_misc
  tgba_explicit_number*
  tgba_dupexp_dfs(const tgba* aut,
                  std::map<const state*, const state*,
                           state_ptr_less_than>& relation);
53
54
}

55
#endif // SPOT_TGBAALGOS_DUPEXP_HH