lbtt.hh 1.26 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef SPOT_TGBAALGOS_LBTT_HH
# define SPOT_TGBAALGOS_LBTT_HH

#include "tgba/tgba.hh"
#include <iostream>

namespace spot
{
  /// \brief Print reachable states in LBTT format.
  ///
  /// Note that LBTT expects an automaton with transition
  /// labeled by propositional formulae, and generalized
Alexandre Duret-Lutz's avatar
typo    
Alexandre Duret-Lutz committed
13
  /// Büchi accepting conditions on \b states.  This
14
  /// is unlike our spot::tgba automata which put
15
  /// both generalized accepting conditions and propositional
Alexandre Duret-Lutz's avatar
typo    
Alexandre Duret-Lutz committed
16
  /// formulae) on \b transitions.
17
  ///
18
19
20
21
22
23
24
25
26
27
  /// This algorithm will therefore produce an automata where
  /// accepting conditions have been moved from each transition to
  /// previous state.  In the worst case, doing so will multiply the
  /// number of states and transitions of the automata by
  /// <code>2^|Acc|</code>.  where <code>|Acc|</code> is the number of
  /// accepting conditions used by the automata.  (It can be a bit
  /// more because LBTT allows only for one initial state:
  /// lbtt_reachable() may also have to create an additional state in
  /// case the source initial state had to be split.)  You have been
  /// warned.
28
29
30
  ///
  /// \param g The automata to print.
  /// \param os Where to print.
31
  std::ostream& lbtt_reachable(std::ostream& os, const tgba* g);
32
33
34
}

#endif // SPOT_TGBAALGOS_LBTT_HH