* doc/tl/tl.bib: Move ... * doc/spot.bib: ... here, and augment it with all references that appeared verbatim in Doxygen comments. * doc/Makefile.am, doc/tl/Makefile.am doc/tl/tl.tex: Adjust for the move. * doc/Doxyfile.in: Point to spot.bib. * spot/gen/automata.hh, spot/gen/formulas.hh, spot/misc/game.hh, spot/misc/minato.hh spot/taalgos/emptinessta.hh, spot/taalgos/minimize.hh, spot/taalgos/tgba2ta.hh, spot/tl/formula.hh, spot/tl/remove_x.hh, spot/tl/simplify.hh, spot/tl/snf.hh, spot/twaalgos/cobuchi.hh, spot/twaalgos/cycles.hh, spot/twaalgos/dualize.hh, spot/twaalgos/gtec/gtec.hh, spot/twaalgos/gv04.hh, spot/twaalgos/ltl2taa.hh, spot/twaalgos/ltl2tgba_fm.hh, spot/twaalgos/magic.hh, spot/twaalgos/minimize.hh, spot/twaalgos/parity.hh, spot/twaalgos/powerset.hh, spot/twaalgos/randomgraph.hh, spot/twaalgos/se05.hh, spot/twaalgos/simulation.hh, spot/twaalgos/strength.hh, spot/twaalgos/stutter.hh, spot/twaalgos/tau03.hh, spot/twaalgos/totgba.hh, spot/twaalgos/toweak.hh: Use \cite instead of a verbatim bibtex entry.
107 lines
3.9 KiB
C++
107 lines
3.9 KiB
C++
// -*- coding: utf-8 -*-
|
|
// Copyright (C) 2017, 2019 Laboratoire de Recherche et Developpement de
|
|
// l'EPITA (LRDE).
|
|
//
|
|
// 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
|
|
// the Free Software Foundation; either version 3 of the License, or
|
|
// (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
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#pragma once
|
|
|
|
#include <spot/misc/common.hh>
|
|
#include <spot/twa/fwd.hh>
|
|
#include <spot/twa/bdddict.hh>
|
|
|
|
namespace spot
|
|
{
|
|
namespace gen
|
|
{
|
|
/// \defgroup gen Hard-coded families of formulas or automata.
|
|
/// @{
|
|
/// \defgroup genaut Hard-coded families of automata.
|
|
/// @{
|
|
|
|
/// \brief Identifiers for automaton patterns
|
|
enum aut_pattern_id {
|
|
AUT_BEGIN = 256,
|
|
/// \brief A family of co-Büchi automata.
|
|
///
|
|
/// Builds a co-Büchi automaton of size 2n+1 that is
|
|
/// good-for-games and that has no equivalent deterministic
|
|
/// co-Büchi automaton with less than 2^n / (2n+1) states.
|
|
/// \cite kuperberg.15.icalp
|
|
///
|
|
/// Only defined for n>0.
|
|
AUT_KS_NCA = AUT_BEGIN,
|
|
/// \brief Hard-to-complement non-deterministic Büchi automata
|
|
///
|
|
/// Build a non-deterministic Büchi automaton with 3n+1 states
|
|
/// and whose complementary language requires an automaton with
|
|
/// at least n! states if Streett acceptance is used.
|
|
///
|
|
/// Only defined for n>0. The automaton constructed corresponds
|
|
/// to the right part of Fig.1 of \cite loding.99.fstts , except
|
|
/// that only state q_1 is initial. (The fact that states q_2,
|
|
/// q_3, ..., and q_n are not initial as in the paper does not
|
|
/// change the recognized language.)
|
|
AUT_L_NBA,
|
|
/// \brief DSA hard to convert to DRA.
|
|
///
|
|
/// Build a deterministic Streett automaton 4n states, and n
|
|
/// acceptance pairs, such that an equivalent deterministic Rabin
|
|
/// automaton would require at least n! states.
|
|
///
|
|
/// Only defined for 1<n<=16 because Spot does not support more
|
|
/// than 32 acceptance pairs.
|
|
///
|
|
/// This automaton corresponds to the right part of Fig.2 of
|
|
/// \cite loding.99.fstts .
|
|
AUT_L_DSA,
|
|
/// \brief An NBA with (n+1) states whose complement needs ≥n! states
|
|
///
|
|
/// This automaton is usually attributed to Max Michel (1988),
|
|
/// who described it in some unpublished document. Other
|
|
/// descriptions of this automaton can be found in a number
|
|
/// of papers \cite thomas.97.chapter .
|
|
///
|
|
/// Our implementation uses $\lceil \log_2(n+1)\rceil$ atomic
|
|
/// propositions to encode the $n+1$ letters used in the
|
|
/// original alphabet.
|
|
AUT_M_NBA,
|
|
AUT_END
|
|
};
|
|
|
|
/// \brief generate an automaton from a known pattern
|
|
///
|
|
/// The pattern is specified using one value from the aut_pattern_id
|
|
/// enum. See the man page of the `genaut` binary for a
|
|
/// description of those patterns, and bibliographic references.
|
|
///
|
|
/// In case you want to combine this automaton with other
|
|
/// automata, pass the bdd_dict to use to make sure that all share
|
|
/// the same.
|
|
SPOT_API twa_graph_ptr
|
|
aut_pattern(aut_pattern_id pattern, int n,
|
|
spot::bdd_dict_ptr dict = make_bdd_dict());
|
|
|
|
/// \brief convert an aut_pattern_it value into a name
|
|
///
|
|
/// The returned name is suitable to be used as an option
|
|
/// key for the genaut binary.
|
|
SPOT_API const char* aut_pattern_name(aut_pattern_id pattern);
|
|
|
|
/// @}
|
|
/// @}
|
|
}
|
|
}
|