* spot/twaalgos/postproc.cc, spot/twaalgos/postproc.hh: Add support for a colored option. * bin/common_post.cc, bin/common_post.hh bin/autfilt.cc, bin/ltl2tgba.cc, bin/dstar2tgba.cc: Add support for --colored-parity. * bin/ltldo.cc: Adjust as well for consistency, even if --parity and --colored-parity is not used here. * tests/core/parity2.test: Add tests. * doc/org/autfilt.org, doc/org/ltl2tgba.org: Add examples. * NEWS: Mention --colored-parity.
39 lines
1.5 KiB
C++
39 lines
1.5 KiB
C++
// -*- coding: utf-8 -*-
|
|
// Copyright (C) 2012-2018 Laboratoire de Recherche et Développement
|
|
// 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 "common_sys.hh"
|
|
#include <spot/twaalgos/postproc.hh>
|
|
#include <argp.h>
|
|
|
|
extern const struct argp post_argp; // postprocessing enabled
|
|
extern const struct argp post_argp_disabled; // postprocessing disabled
|
|
extern const struct argp post_argp_nooutput; // no output option
|
|
|
|
extern spot::postprocessor::output_type type;
|
|
extern spot::postprocessor::output_pref pref;
|
|
extern spot::postprocessor::output_pref comp;
|
|
extern spot::postprocessor::output_pref sbacc;
|
|
extern spot::postprocessor::output_pref colored;
|
|
extern spot::postprocessor::optimization_level level;
|
|
// True if --low, --medium, or --high has been given
|
|
extern bool level_set;
|
|
// True if --any, --small, or --deterministic has been given
|
|
extern bool pref_set;
|