spot  2.4.4
powerset.hh
1 // -*- coding: utf-8 -*-
2 // Copyright (C) 2011, 2013, 2014, 2015 Laboratoire de Recherche et
3 // Développement de l'Epita.
4 // Copyright (C) 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
5 // département Systèmes Répartis Coopératifs (SRC), Université Pierre
6 // et Marie Curie.
7 //
8 // This file is part of Spot, a model checking library.
9 //
10 // Spot is free software; you can redistribute it and/or modify it
11 // under the terms of the GNU General Public License as published by
12 // the Free Software Foundation; either version 3 of the License, or
13 // (at your option) any later version.
14 //
15 // Spot is distributed in the hope that it will be useful, but WITHOUT
16 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
18 // License for more details.
19 //
20 // 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/>.
22 
23 #pragma once
24 
25 #include <set>
26 #include <vector>
27 #include <spot/twa/twagraph.hh>
28 
29 namespace spot
30 {
31 
32  struct SPOT_API power_map
33  {
34  typedef std::set<unsigned> power_state;
35  std::vector<power_state> map_;
36 
37  const power_state&
38  states_of(unsigned s) const
39  {
40  return map_.at(s);
41  }
42  };
43 
44 
56 
57  SPOT_API twa_graph_ptr
58  tgba_powerset(const const_twa_graph_ptr& aut,
59  power_map& pm, bool merge = true);
60  SPOT_API twa_graph_ptr
61  tgba_powerset(const const_twa_graph_ptr& aut);
63 
64 
100  SPOT_API twa_graph_ptr
101  tba_determinize(const const_twa_graph_ptr& aut,
102  unsigned threshold_states = 0,
103  unsigned threshold_cycles = 0);
104 
132  SPOT_API twa_graph_ptr
133  tba_determinize_check(const twa_graph_ptr& aut,
134  unsigned threshold_states = 0,
135  unsigned threshold_cycles = 0,
136  formula f = nullptr,
137  const_twa_graph_ptr neg_aut = nullptr);
138 
139 }
Definition: automata.hh:26
twa_graph_ptr tgba_powerset(const const_twa_graph_ptr &aut)
Build a deterministic automaton, ignoring acceptance conditions.
Main class for temporal logic formula.
Definition: formula.hh:673
Definition: powerset.hh:32

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Mon Dec 25 2017 14:51:14 for spot by doxygen 1.8.13