spot  2.10.6
toparity.hh
1 // -*- coding: utf-8 -*-
2 // Copyright (C) 2018-2020 Laboratoire de Recherche et Développement
3 // de l'Epita (LRDE).
4 //
5 // This file is part of Spot, a model checking library.
6 //
7 // Spot is free software; you can redistribute it and/or modify it
8 // under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // Spot is distributed in the hope that it will be useful, but WITHOUT
13 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 // License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
19 
20 #pragma once
21 
22 #include <spot/twa/twagraph.hh>
23 
24 namespace spot
25 {
29  {
33  bool search_ex = true;
37  bool use_last = true;
43  bool force_order = true;
47  bool partial_degen = true;
50  bool force_degen = true;
53  bool acc_clean = true;
57  bool parity_equiv = true;
71  bool parity_prefix = true;
75  bool rabin_to_buchi = true;
78  bool reduce_col_deg = false;
82  bool propagate_col = true;
85  bool pretty_print = false;
86  };
87 
88 
105  SPOT_API twa_graph_ptr
106  to_parity(const const_twa_graph_ptr &aut,
107  const to_parity_options options = to_parity_options());
108 
122  SPOT_API twa_graph_ptr
123  to_parity_old(const const_twa_graph_ptr& aut, bool pretty_print = false);
124 
145  SPOT_DEPRECATED("use to_parity() instead") // deprecated since Spot 2.9
146  SPOT_API twa_graph_ptr
147  iar(const const_twa_graph_ptr& aut, bool pretty_print = false);
148 
155  SPOT_DEPRECATED("use to_parity() and spot::acc_cond::is_rabin_like() instead")
156  SPOT_API twa_graph_ptr // deprecated since Spot 2.9
157  iar_maybe(const const_twa_graph_ptr& aut, bool pretty_print = false);
158 
159 } // namespace spot
An acceptance condition.
Definition: acc.hh:61
twa_graph_ptr to_parity(const const_twa_graph_ptr &aut, const to_parity_options options=to_parity_options())
Take an automaton with any acceptance condition and return an equivalent parity automaton.
twa_graph_ptr to_parity_old(const const_twa_graph_ptr &aut, bool pretty_print=false)
Take an automaton with any acceptance condition and return an equivalent parity automaton.
SPOT_DEPRECATED("use to_parity() instead") twa_graph_ptr iar(const const_twa_graph_ptr &aut
Turn a Rabin-like or Streett-like automaton into a parity automaton based on the index appearence rec...
Definition: automata.hh:27
Options to control various optimizations of to_parity().
Definition: toparity.hh:29
bool propagate_col
Definition: toparity.hh:82
bool use_last
Definition: toparity.hh:37
bool rabin_to_buchi
Definition: toparity.hh:75
bool parity_equiv
Definition: toparity.hh:57
bool pretty_print
Definition: toparity.hh:85
bool force_degen
Definition: toparity.hh:50
bool parity_prefix
Definition: toparity.hh:71
bool reduce_col_deg
Definition: toparity.hh:78
bool acc_clean
Definition: toparity.hh:53
bool force_order
Definition: toparity.hh:43
bool partial_degen
Definition: toparity.hh:47
bool search_ex
Definition: toparity.hh:33

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Fri Feb 27 2015 10:00:07 for spot by doxygen 1.9.1